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
 General SQL Server Forums
 New to SQL Server Programming
 locks

Author  Topic 

AgaK
Yak Posting Veteran

86 Posts

Posted - 2009-10-14 : 10:43:10
Hi

In SQL Server 2005, would a long running select statment cause locks on a table?

For example a SELECT statement that take over 3 minutes to finish because it's summarizes the data. Will it lock the table (shared lock) preventing exclusive locks necessary for insert/update/delete)? Will it block a quick update to finish?

thank you kindly

AK

X002548
Not Just a Number

15586 Posts

Posted - 2009-10-14 : 10:48:38
http://www.databasejournal.com/features/mssql/article.php/3289661/Understanding-SQL-Server-2000-Locking.htm


http://www.mssqlcity.com/Articles/Adm/SQL70Locks.htm


Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

AgaK
Yak Posting Veteran

86 Posts

Posted - 2009-10-14 : 11:05:56
Thank you very much for your reply. The articles are for SQL 2000, would you have anything for SQL 2005? thank you again!
Go to Top of Page
   

- Advertisement -