I am having two tables, one is Staging and another one is Report. All processing happens in Staging and upon completion of such process I have to copy all the records to Report.
The Staging table contains millions of records so I just want to know what is the fastest way to copy this data to Report.
3 options which I know are:
Insert intoSelect intoAny help in this regard is much appreciated.
another option is BCP out (queryout) and then BCP in/BULK INSERT
you can also use the BULK INSERT task in SSIS
Have a look at Transferring Data from One Table to Another
It discusses
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With