September 28, 2011 at 5:51 pm
Silly question: what is the default lock for sql server 2008 R2 ?
ddfg
September 29, 2011 at 3:17 am
Depends on the number of rows affected, the amount of locks and lock memory already and probably a few other factors.
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
September 29, 2011 at 3:46 am
It depends,
let take an example of an update statement, if the number of rows effected by the statement is one or little more it will put row level lock, if its more (suppose most of the rows of table) it will put table level lock.
as gail said its depend on the no. of rows effected by the statement.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply