My Oracle Support Banner

A Query Using a Like Predicate and NVL Function Causes ORA-01560 (Doc ID 2310133.1)

Last updated on FEBRUARY 20, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database - Standard Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Information in this document applies to any platform.

Symptoms

SQL> variable attr22 varchar2(200)
SQL> execute :attr22 := '<Multibyte character>....';
SQL> select 1 from dual where dummy like nvl(:attr22, ' ');
*
ERROR at line 1:
ORA-01560: LIKE pattern contains partial or illegal character

(In this case, multibyte characters set into a bind variable before executing a query)

Changes

 

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
Changes
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.