|
Hi
saroj, READ_COMMITED would work like this:
User A
User B
1.
SELECT * FROM TEST
2.
SELECT * FROM TEST
3.
UPDATE TEST SET .... WHERE TEST_ID = n AND
VERSION=v //Success!!!, Update count = 1
4. UPDATE TEST SET ..... WHERE TEST_ID = n AND VERSION=v // Success!!!, Update count =
1
5. SELECT TEST_ID=n
If
User B hasn't committed the transaction when User A issues the update, The
second update succeeds as the change would not be reflected as User B's
transaction hasn't completed. It happens quite a lot when a single transaction
touches a lot of tables.
HTH,
Juan Pablo Lorandi
Chief Software
Architect
Code Foundry Ltd.
Barberstown, Straffan, Co. Kildare, Ireland. Tel: +353-1-6012050 Fax: +353-1-6012051 Mobile: +353-86-2157900 www.codefoundry.com Disclaimer:
Opinions expressed are entirely
personal and bear no relevance to opinions held by my employer.
Code Foundry Ltd.'s opinion is that I
should get back to work.
|
Title: Message
- Concurrent record update BOUTTE Sebastien
- Re: Concurrent record update Ashwani Kalra
- Re: Concurrent record update Juan Pablo Lorandi
- Re: Concurrent record update Sanjeev Verma
- Re: Concurrent record update Juan Pablo Lorandi
- Re: Concurrent record update Ramakrishna N
- Re: Concurrent record update Juan Pablo Lorandi
- Re: Concurrent record update Juan Pablo Lorandi
- Re: Concurrent record update BOUTTE Sebastien
