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

Home -> Community -> Mailing Lists -> Oracle-L -> SELECT SKIP (Was: RE: Off Topic: Row Locking - Row Id)

SELECT SKIP (Was: RE: Off Topic: Row Locking - Row Id)

From: yong huang <yong321_at_yahoo.com>
Date: Wed, 14 Feb 2001 08:37:19 -0800
Message-ID: <F001.002B415A.20010214083056@fatcity.com>

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

                        *

ERROR at line 1:
ORA-00933: SQL command not properly ended

SQL> select * from test skip lock;
select * from test skip lock

                        *

ERROR at line 1:
ORA-00933: SQL command not properly ended

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



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: yong huang
  INET: yong321_at_yahoo.com
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

Original text of this message

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