Hello, SQL 2000 I am trying to insert ~40K records from a temporary table into a large table (10 columns, 41M records) that has several indexes (six indexes including PK). Currently I am using
Is this the best way, it takes about ~20 minutes.
Thank you,
djj
The Lord is My Shepard (Psalm 23) - I need someone to lead me!
Code:
insert into bigtable (c1, c2, c3, c4, c5, c6, c7, c8, c9, c10)
select c1, c2, c3, c4, c5, c6, c7, c8, c9, c10
from #temp
Thank you,
djj
The Lord is My Shepard (Psalm 23) - I need someone to lead me!