Click here to Skip to main content
15,740,731 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used the code below
SQL
BEGIN TRAN

SELECT *
FROM authors
WITH (HOLDLOCK, ROWLOCK)
WHERE au_id = '123'




when any other user uses
SQL
SELECT *
FROM authors



will the record with id 123 will be listed or not
Posted
Comments
Magic Wonder 13-Jun-14 1:42am    
Have you tried the same?

1 solution

You can try the same at your end also.

Anyway, Yes it will be listed.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900