Row level locking
From: perto <alberto.pertotti_at_NOSPAM.elsag.it>
Date: 1999/02/24
Message-ID: <7b1dc5$caj$1_at_e3k.asi.ansaldo.it>#1/1
Date: 1999/02/24
Message-ID: <7b1dc5$caj$1_at_e3k.asi.ansaldo.it>#1/1
Hi,
I start two different sessions:
Session 2:
Session 2 remains blocked by Session 1. Why? The two update statement works
on different rows. SS7.0 has the row level locking feature, why an update on
a row can block an update on another row?
I found a workaround for the problem: everything works OK only when "field"
is primary key, but this is a very bad limitation.
Thanks,
I'm new to MS SS7.0 and I can't make him work.
Somebody knows how to perform two update statement on the same table?
Session 1:
begin tran
update table set status = 'X' where field = 1
begin tran
update table set status = 'Y' where field = 2
Alberto Pertotti
Received on Wed Feb 24 1999 - 00:00:00 CET