My Oracle Support Banner

ORA-933 Error When Using Select for Update With NOWAIT and SKIP LOCKED Against 11g Oracle Database Worked With 10.2 (Doc ID 1296385.1)

Last updated on FEBRUARY 09, 2019

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
***Checked for relevance on 13-Aug-2012***


After an upgrade of the Oracle database from to, a SQL statement using 'UPDATE OF STATUS NOWAIT SKIP LOCKED' fails with:

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

The same sql statement executed against a or Oracle Database works finr without errors.


Upgraded the Oracle Database from 10.2 to


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.