![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Can I copy a table with 69 million records from one database to another in the same server using DTS package? Or I have to create a stored procedure to read and insert, for example 50000 records each time (in this case we will have a slow process)? Does DTS use transaction log like regular insert statements? The table has about 30 columns. The datatype of most of them is CHAR or VARCHAR. Thank you, Rosie |
#3
| |||
| |||
|
|
Hi, Can I copy a table with 69 million records from one database to another in the same server using DTS package? Or I have to create a stored procedure to read and insert, for example 50000 records each time (in this case we will have a slow process)? Does DTS use transaction log like regular insert statements? The table has about 30 columns. The datatype of most of them is CHAR or VARCHAR. Thank you, Rosie |
#4
| |||
| |||
|
|
Hi, if you use the bulk insert to copy the rows from 1 table to another, the log generated depends on the database log setup. if the log setup of target database is FULL, then EVERYTHING is logged. if its set to Bulk Log or simple, then bulk insert commands are logged. the log is linked to the command executed to the database NOT the program used to load the data, you can use another tool to load your data, until its a bulkinsert command, there is no log so, if you do the copy using a storeprocedure, you'll generate a log. Using DTS or not. "Rosie" <Rosie (AT) discussions (DOT) microsoft.com> wrote in message news:35F039C7-E8E1-4241-97AC-A712B78B2688 (AT) microsoft (DOT) com... Hi, Can I copy a table with 69 million records from one database to another in the same server using DTS package? Or I have to create a stored procedure to read and insert, for example 50000 records each time (in this case we will have a slow process)? Does DTS use transaction log like regular insert statements? The table has about 30 columns. The datatype of most of them is CHAR or VARCHAR. Thank you, Rosie |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |