Hi, Do i need to implement database transaction locks in sql server2008 as iam

Karlos

New member
building asp.net(C#) website? Hi, Do i need to implement database transaction locks in sql server2008 as iam building asp.net(C#) website.
i just want to know that the locks in sql server 2008 are automatic, when we use this with asp.net, or we have to implement a logic for locks.
 
SQL Server, by default, doesn't use locks. Whether or not you need locks depends on your application. If you want locks, begin and end transactions, and use lock and nolock hints.
 
Back
Top