Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Concurrency in Transaction

 
   Database Forums (Home) -> General Discussions RSS
Next:  VB 6 and an Access 2 Database  
Author Message
balkiir

External


Since: Jan 27, 2005
Posts: 2



(Msg. 1) Posted: Wed Aug 03, 2005 6:21 pm
Post subject: Concurrency in Transaction
Archived from groups: comp>databases>ms-sqlserver (more info?)

hi gurus

the scenario
Frontend - MS Access (not yet decided whether MDB or ADP)
Backend - MS SQL Server

it is a conversion from MS Access backend to MS SQL Server Backend.

Planning to create stored procedures for all the Inserts, Updates,
Deletes and Business Rules / Validations wherever it is possible.

the problem
i am running in concurrency problem. the same classic scenario of two
users retrieving the same row (record) from the same table. it allows
both the user to update the record, that is, the user who updates last
has his changes saved though he retrieved that particular record
second.

what i need is that the user who retrieved the record second shouldn't
be able to update or delete the record when it is already retrieved by
any other user.

would appreciate if someone pointed me in the right direction to solve
the above problem, i know it is related to isolation property but am
not sure

thanx in advance

regards
bala

 >> Stay informed about: Concurrency in Transaction 
Back to top
Login to vote
balkiir

External


Since: Jan 27, 2005
Posts: 2



(Msg. 2) Posted: Thu Aug 04, 2005 3:36 am
Post subject: Re: Concurrency in Transaction [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

thanx a lot erland. have a great day

 >> Stay informed about: Concurrency in Transaction 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
begin and end transaction and transaction log - Hello everyone, This is more of an architectural question about SQL Server. Can someone please explain why when I perform a query such as the one below that updates a table using begin and end transaction I am unable to programmatically truncate the..

Rowlock v. optimistic concurrency - Hi, Sql-Server 2000, 2005. A report fetches a lot of rows using the "WITH (ROWLOCK)" syntax (the sql is generated on the fly by a tool and not easily changeable). SELECT col1, col2 FROM mytab WITH (ROWLOCK) WHERE ...." The select-clause ...

transaction - Hello! Here is a text in a book. "To ensure that you don't leave your transaction open for too long, consider using sqltransaction object in a Using block. The longer the transaction remain open, the longer the database needs to maintain the lock...

Transaction Isolation Level - Hi, I have 1 SQL statement selecting data from various tables and updating other tables. The question then is how do I prevent other applications from modifying the tables that I'm working on (that is while my transaction is being executed)? I know...

Error on Transaction log backup - I wonder if anyone can help me with the following error message. We use Sql 2000. I wanted to backup the transaction log of a database with this command: BACKUP LOG [testdb] TO [TestdbBCK] WITH NOINIT , NOUNLOAD , NAME = N'TestDB backup', ..
   Database Forums (Home) -> General Discussions All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]