How to copy a huge table data into another table in SQL Server

前端 未结 8 1259
慢半拍i
慢半拍i 2020-12-02 10:30

I have a table with 3.4 million rows. I want to copy this whole data into another table.

I am performing this task using the below query:

select * 
i         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 11:04

    Here's another way of transferring large tables. I've just transferred 105 million rows between two servers using this. Quite quick too.

    1. Right-click on the database and choose Tasks/Export Data.
    2. A wizard will take you through the steps but you choosing your SQL server client as the data source and target will allow you to select the database and table(s) you wish to transfer.

    For more information, see https://www.mssqltips.com/sqlservertutorial/202/simple-way-to-export-data-from-sql-server/

提交回复
热议问题