Groups | Blog | Home
all groups > sql server programming > july 2003 >

sql server programming : nolock hints


Hassan
7/19/2003 6:25:10 PM
Do nolock hints only apply to select statements ?

Can they be used in delete/insert/update statements too that are against a
single table or based upon a join such as delete from table1 as a(nolock)
join table 2 as b on a.col1 =b.col1 ?
And if they can, what does that mean ?

Thanks

Andrew J. Kelly
7/19/2003 10:08:45 PM
You can not get around locking when you do any kind of update, insert or
delete. It is only for the select portion of the statements.

--

Andrew J. Kelly
SQL Server MVP


[quoted text, click to view]

AddThis Social Bookmark Button