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 11.2.0.1.0 and later
Information in this document applies to any platform.

Symptoms

When using the 11.2.0.1 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.

Cause

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
Symptoms
Cause
Solution
References


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