I'm using PL/SQL Developer 5.1.6.747 against an Oracle 8.1.7 database.
From a PL/SQL developer SQL Window I can successfully perform the following query:
select nvl2('1', 'not null', 'null') from dual
When I try and use nvl2 in a package body using a PL/SQL Developer Program Window as follows:
vc_column_name := vc_column_name||nvl2(vc_column_name, ',', null)||vc_column_name;
I get an error of:
PLS-00201: identifier 'NVL2' must be declared.
Am I doing something wrong?
From a PL/SQL developer SQL Window I can successfully perform the following query:
select nvl2('1', 'not null', 'null') from dual
When I try and use nvl2 in a package body using a PL/SQL Developer Program Window as follows:
vc_column_name := vc_column_name||nvl2(vc_column_name, ',', null)||vc_column_name;
I get an error of:
PLS-00201: identifier 'NVL2' must be declared.
Am I doing something wrong?