Hello everyone,
Could you explain the following?
There is no problem here:
SQL> select nvl2(null,1,2) from dual;
NVL2(NULL,1,2)
--------------
2
And I get this here:
SQL> begin
2 dbms_output.put_line(nvl2(null,1,2));
3 end;
4 /
dbms_output.put_line(nvl2(null,1,2));
*
ERROR at line 2:
ORA-06550: line 2, column 23:
PLS-00201: identifier 'NVL2' must be declared
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Thanks in advance.
Edward