Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SELECT SKIP (Was: RE: Off Topic: Row Locking - Row Id)
Hi Yong,
That has to be FOR UPDATE SKIP LOCKED.
There is some stuff about it on the Ixora web site.
@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/
-----Original Message-----
Sent: Thursday, 15 February 2001 2:31
To: Multiple recipients of list ORACLE-L
Hi, Riyaj,
Could you post your screen shot that shows select * from t1 skip locked? What version of Oracle are you using? Mine is 8.1.6 Enterprise Ed:
SQL> select * from test skip locked;
select * from test skip locked
*
SQL> select * from test skip lock;
select * from test skip lock
*
SQL> desc test
Name Null? Type ----------------------------------------- -------- -------- A NUMBER B ROWID D NUMBER
Yong Huang
yong321_at_yahoo.com
you wrote:
If you want to show only rows that are locked then you could use this undocumented feature: 'select * from t1 skip locked'. This will skip all the rows that have been locked.
Thanks
Riyaj "Re-yas" Shamsudeen
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Steve Adams INET: steve.adams_at_ixora.com.au Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Wed Feb 14 2001 - 11:45:57 CST