My Oracle Support Banner

Use of the Word "ESCAPE" in an Escape Sequence Fails With Ora-933 (Doc ID 1090817.1)

Last updated on MARCH 14, 2019

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


When using the JDBC driver, queries with syntax similar to the following ...

'select <COLUMN> from <TABLE> where <COLUMN> LIKE ? { ESCAPE ? }'

... fails with the following error:

java.sql.SQLException: ORA-00933: SQL command not properly ended

The same query was successful in earlier versions of the driver.


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.