Re: Informix vs. Sybase vs. Oracle vs. (gasp) MS SQL Server

From: Snorri Bergmann <snorri_at_strengur.is>
Date: 1997/11/26
Message-ID: <347C0E5B.97B0AEA2_at_strengur.is>#1/1


Chris Curvey wrote:
[Snipped]

> > 2) Use optimistic locking. (So users who have been typing in for hours
> > get the message: Somebody else has modified this rec while you were
> > working. Please try again).
>
> Okay, but under row level locking in this case, nobody would be able to
> view the records in question while the other user spent hours and hours
> typing.
>

This is not correct. In Informix everyone can read the record from the master table, bur no-one can select it for update. It's only locked exclusively between UPDATE and COMMIT.

-Snorri

-- 
Snorri Bergmann                | Mail:       snorri_at_strengur.is
Strengur Consulting Engineers  | WWW:        http://www.strengur.is/
Armuli 7                       | Phone:      +354 550 9000 (9007 direct)
108 Reykjavik Iceland          | Telefax:    +354 550 9010
Received on Wed Nov 26 1997 - 00:00:00 CET

Original text of this message