ORA-01425 when using 'like' or 'escape' on NVARCHAR2 column
(Doc ID 1470516.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Standard Edition - Version 220.127.116.11 to 18.104.22.168 [Release 11.1]
Information in this document applies to any platform.
You are using using 'like' or 'escape' on NVARCHAR2 column and you get the following error:
ERROR at line 1:
ORA-01425: escape character must be character string of length 1
Here is an example of possible failing syntax:
SQL> select * from t1 where col2 like '%\$$%' escape '\';
You may see this problem while setting Cursor_sharing=force.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!