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

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

RE: PL/SQL changes (8.1.6 -> 8.1.7)

From: Mohan, Ross <MohanR_at_STARS-SMI.com>
Date: Fri, 07 Sep 2001 10:33:01 -0700
Message-ID: <F001.00386EFB.20010907104612@fatcity.com>

Atcher Soivice, Mate!

:-)

-----Original Message-----
Sent: Friday, September 07, 2001 2:21 PM To: Multiple recipients of list ORACLE-L

Thanks - yes: If I change (select '0' foo from dual) to (select 0 foo from dual) then it works (8.1.6 and 8.1.7).

It's just a bit annoying that this behaviour has changed; can't find reference to it in the 8.1.7 manuals. I've got some code which does something similar - I guess it's a bit sloppy passing a number as a string to TO_CHAR in the first place, but it used to work OK. Guess the code will just have to be fixed!

At 09:13 07/09/01 -0800, Mohan, Ross wrote:
>quotes around the 0? maybe an artifact of implicit function overloading?
>
>-----Original Message-----
>Sent: Friday, September 07, 2001 12:21 PM
>To: Multiple recipients of list ORACLE-L
>
>
>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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mohan, Ross
  INET: MohanR_at_STARS-SMI.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 - 12:33:01 CDT

Original text of this message

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