Discussion Locked

method to lock a record in sqlserver 6.5

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
how do one place a specific record lock explicitly in sqlserver 6.5

3 replies

by bill_h

Record locking is referred to as "row locking" in SQL Server, and is the default strategy for SQL Server 6.5 - see the MSDN article "DBCC ROWLOCK (T-SQL)" at:

http://msdn.microsoft.com/library/psdk/sql/dbcc_17.htm

You shouldn't have to do anything to lock a specific record.

Other articles that may be of interest:

Understanding Locking in SQL Server
http://msdn.microsoft.com/library/psdk/sql/8_con_7a_4.htm

Locking Hints
http://msdn.microsoft.com/library/psdk/sql/8_con_7a_17.htm
Hope this helps...

This discussion is closed to new replies.