Re: Phantom Inserts
From: Ian Smith <smithi_at_nova.enet.dec.com>
Date: 24 Feb 1995 18:22:14 GMT
Message-ID: <3il84m$msq_at_jac.zko.dec.com>
Date: 24 Feb 1995 18:22:14 GMT
Message-ID: <3il84m$msq_at_jac.zko.dec.com>
In article <793588545snz_at_granby.demon.co.uk>, bh_at_granby.demon.co.uk (Bruce Horrocks) writes:
|>>BTW, how important is the protection against phantom inserts anyway?
|>>It doesn't seem common in applications that I have seen.
|>
|>I don't think that I've ever had to worry about it in any application
|>that I've written. Doing the same select twice in a row in the same
|>transaction would be so obviously inefficient that I would try to
|>design around it as a matter of course.
Well Bruce it may be that the first "select" fetches the row for review by the user and the second "select" is actually an update of those rows. i.e. it is not the exact same query but it still must process the same set of rows.
-- Ian Smith Oracle Rdb Engineering Group (Standard disclaimer: These opinions are mine and in no way represent a commitment or opinion of my employer)Received on Fri Feb 24 1995 - 19:22:14 CET