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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: DML on dual?

RE: DML on dual?

From: Taft, David <TaftD_at_saic-dc.com>
Date: Thu, 12 Apr 2007 15:29:56 -0400
Message-ID: <DCE76463749C64499892A0DB3AF05AC60EF45F7F@challenger.vta.saic-dc.com>


John,  

Hmmm, my memory may not be serving me too well here, but this reminds me of something I read in Tom Kyte's newest book. I don't have the book with me, so I can't look it up, but I think he had an example of some sort of home-grown concurrency control mechanism. Probably an example of how not to code. Anyway, I believe the example was such that a session had to hold this lock for the code to proceed. Darn, the one day I don't have that book on hand.  

Cheers,  

David Taft

From: John Darrah [mailto:darrah.john_at_gmail.com]

I've seen several oracle trace files that have the statement "SELECT 1 FROM DUAL FOR UPDATE NOWAIT" I have no idea what the purpose of that statement is but it probably explains what you are seeing.

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 12 2007 - 14:29:56 CDT

Original text of this message

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