Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quickest way to copy/move all data from one table into another

Status
Not open for further replies.

hoggle

Programmer
Jul 13, 2001
124
US
I need to know the quickest way possible to move or copy all data from one table into another. Should I truncate the destination table then use INSERT, a DTS package, or drop the destination table and use a SELECT INTO...or is there another way?

thanks
 
I've used DTS for some large tables and the performance was good.
 
DTS is the quickest and most efficient way to copy data from one table to another. Truncate the destination table. (Deleteing will cause logging and slow the operation down.) and DTS the new data into the destination table.

Hope this helps,
SQLRickster


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top