Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking a table row for one user
Message
From
28/08/2015 13:12:04
 
 
To
28/08/2015 07:34:09
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01623931
Message ID:
01623949
Views:
42
>
>I think you don't need any parameters like holdlock or rowlock between begin and end tran. But you have to use begin/end trans carefully. You may cause deadlock.

Hi, Metin, not to be picky, but in SQL Server it's "BEGIN TRANS/COMMIT TRANS (or ROLLBACK TRANS)". "BEGIN/END" are simply to delimit blocks of code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform