July 4, 2014 at 12:53 pm
Hi All,
I had a situation today wherein the SQL developers where able to run select query on a particular table, but they were not able to run an Update query on it,
I checked the sysprocesses and found that the table they are updating is locked by another proc which has held IX(or SIX) lock on the table.
I just wanted to know how they were able to query the table without a (nolock) hint when the table had an IX(or SIX) lock on it..
Thanks
Ashif Shaikh
July 4, 2014 at 1:06 pm
See the lock compatibility matrix - http://technet.microsoft.com/en-us/library/ms186396%28v=sql.105%29.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply