Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Usage of RowId...

Re: Usage of RowId...

From: EXE <exe_at_exesolutions.com>
Date: 1998/11/26
Message-ID: <365D9638.98377DA5@exesolutions.com>#1/1

> I don't like that idea because it essentially requires two updates to
> achieve one update,
> I think i see the potential for a race condition....
> SQL SERVER/SYBASE have the perfect solution in their timestamp column,
>
> the server itself generates a unique number for the row every time it
> updates,
> therefor if everone is reading the timestamp, and everyone updates
> using the timestamp, it is gaurenteed that ONE update is always
> sucessful!!! - the others fail and need to
> try again.

This isn't a feature. This is a kludge required by the fact that SQL Server (and Sybase up to recently) didn't have record level locking.

Daniel A. Morgan Received on Thu Nov 26 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US