My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database - Standard Edition - Version and later
Information in this document applies to any platform.


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)


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.