Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> PL/SQL changes (8.1.6 -> 8.1.7)
Help! Can anyone throw any light on the following:
I run the following:
declare
cursor c1 is select to_char(nvl(a.foo,0),'999') from (select '0' foo from dual) a; begin null;
On Oracle 8.1.6 (Solaris and Linux platforms):
"Statement Processed"
On Oracle 8.1.7 (Solaris and Linux platforms):
"ORA-06550: line 3, column 9:
PLS-00307: too many declarations of 'TO_CHAR' match this call
ORA-06550: line 3, column 2:
PL/SQL: SQL Statement ignored"
Additionally, if I remove the NVL(), then it also fails, as above, on 8.1.6. I'd be grateful for any pointers.
Thanks
- Bill.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Bill Buchan INET: wbuchan_at_uk.intasys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Sep 07 2001 - 10:38:50 CDT
![]() |
![]() |