Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Peformance of Insert statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-01-26 : 08:17:14
Kumar.B writes "I am inserting a table from another table output which contains some 40,000 records. It takes lot of time to get inserted what is other alternative time to reduce the time.

Note:- I have created all indexes required by table."

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2005-01-26 : 08:22:37
well if you do

insert into NewTable(columns)
select columns
from OldTable

it shouldn't be to slow.
indexes on the NewTable are slowing down the inserts.

Go with the flow & have fun! Else fight the flow
Go to Top of Page
   

- Advertisement -