If I use a rowlock hint, will this lock the associated row for the duration of the transaction
i.e
Begin Tran
SELECT @v_Count = COUNT(*)
FROM Template tpt (ROWLOCK)
WHERE tpt.OID = @pi_TemplateOID
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.