Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> SELECT SKIP (Was: RE: Off Topic: Row Locking - Row Id)
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
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 - 10:37:19 CST