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

Home -> Community -> Usenet -> c.d.o.misc -> PL/SQL help needed (newbie)

PL/SQL help needed (newbie)

From: Paul Wiles <paul_at_adzi.com>
Date: Wed, 26 May 1999 11:16:55 +0100
Message-ID: <374bc9ff@newsread3.dircon.co.uk>


I have the procedure

procedure myproc(amt OUT varchar2) AS

BEGIN
        select to_char(233.3,'9,999') into amt from dual; END myproc;

when I run the proc I get a 'numeric or value' error. It appears that I cannot insert the value returned by to_char into the variable amt.

As far as I am aware amt is of the correct datatype - varchar2. What am I doing wrong?

Thanks Received on Wed May 26 1999 - 05:16:55 CDT

Original text of this message

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