943,742 Members | Top Members by Rank

Ad:
Dec 22nd, 2008
0

SQL Server 2005 Delete 1 Million Records

Expand Post »
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
Reputation Points: 16
Solved Threads: 19
Junior Poster
ptaylor965 is offline Offline
169 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows NT / 2000 / XP Forum Timeline: NEED help for configuring DNS for run a website.
Next Thread in Windows NT / 2000 / XP Forum Timeline: Windows update won't start/load.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC