954,153 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

SQL Server 2005 Delete 1 Million Records

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

ptaylor965
Junior Poster
170 posts since Oct 2006
Reputation Points: 16
Solved Threads: 19
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You