SQL Server 2005 Delete 1 Million Records

Reply

Join Date: Oct 2006
Posts: 169
Reputation: ptaylor965 is an unknown quantity at this point 
Solved Threads: 19
Sponsor
ptaylor965's Avatar
ptaylor965 ptaylor965 is offline Offline
Junior Poster

SQL Server 2005 Delete 1 Million Records

 
0
  #1
Dec 22nd, 2008
Hi

We have got a single instance of SQL Server 2005. The latest service pack 3 has been installed today. Since installing SQL Server two months ago we are finding that SQL Server times out if you try to delete records from any table that has more than 600,000 records.

So on our table with 1 million records if we say "DELETE FROM tbl" then it times out. Deleting the Top say 600,000 records works.

We do not want to use TRUNCATE as this would mean modifying lots of code in our application.

Also the same promlem is experienced when using UPDATE.

Many thanks for your help
Peter Taylor
Visual Basic.NET Application Developer

TaylorsNet
http://www.taylorsnet.co.uk
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC