Sql Server Locks
- From: "Prasad Dannani" <prasad@xxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 18:20:03 +0530
Hi All,
We have various processes running symultaniously but no two processes will
access the same record and each process is in a seperate transaction.
The problem is with SQL Server Database Locks.
i.e. if we access any query in two different transactions then one is
getting success and the next one is failing.
Example Scenario:
First process is running for Client "A": This will delete records of
client A and reinserts the same with some data changes
First process is running for Client "B": This will delete records of
client B and reinserts the same with some data changes
In this example the code is same for two clients and the tables accessed
also same. we are tried with out locks and using row locks but nothing is
working.
Suggest us which is the best locking option for this kind of scenarios and
provide us any good links for this kind of scenarios.
With Regards,
Prasad Dannani
.
- Follow-Ups:
- Re: Sql Server Locks
- From: David Gugick
- Re: Sql Server Locks
- From: Andrew J. Kelly
- Re: Sql Server Locks
- Prev by Date: Re: SQL 2005 (Express) - Can't connect with ActiveX SQLDMO
- Next by Date: Re: SQL Server 2000 64 Bits
- Previous by thread: Re: SQL server
- Next by thread: Re: Sql Server Locks
- Index(es):
Relevant Pages
|
Loading