General information
Forum:
Microsoft SQL Server
Title:
Select ..FOR UPDATE is to Oracle as _____ is to SQLServer
How do I lock 1 row in a table from an ODBC Connection.
eg. On Oracle I issue:
select * from T where (primary_key) = (some_value) FOR UPDATE;
COnversly how do I test if this 1 row is locked?
eg.On Oracle I:
select * from T where (primary_key) = (some_value) FOR UPDATE NOWAIT;
Is there a similar mechanism on sql server???
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only