If your update's WHERE clause uses a key, you should not see the entire
table getting locked. Is that what you're seeing?
--
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Joe K." <Joe K. (AT) discussions (DOT) microsoft.com> wrote
Quote:
What is the correct syntax to create a row lock for an update statement
that
updates only a single row in a table? This should help performance since
it
does not have to lock the table to update a single row.
Thank You, |