Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> PL/SQL changes (8.1.6 -> 8.1.7)

PL/SQL changes (8.1.6 -> 8.1.7)

From: Bill Buchan <wbuchan_at_uk.intasys.com>
Date: Fri, 07 Sep 2001 08:38:50 -0700
Message-ID: <F001.00386BA2.20010907082056@fatcity.com>

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;

end;

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US