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 -> Re: Stored Procs and char parameters

Re: Stored Procs and char parameters

From: Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl>
Date: Mon, 09 Feb 2004 20:42:11 +0100
Message-ID: <ihof20hl7srk2ochdgi8q2t54o9cuvgcje@4ax.com>


On Mon, 9 Feb 2004 17:19:04 +0100, "lfb" <lfinet_baron_at_hotmail.com> wrote:

>Hello,
>
>I'd like to send as an input parameter a char(10) value to a stored proc.
>Is it possible ? When I write myparameter IN CHAR(10), it doesn't compile.
>
>Thanks,
>Laurent.
>

You can't have varchar2(n) and char(n) as formal parameter to a procedure or function, only varchar2 and char. As your actual parameter is of the correct length it doesn't matter.

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Feb 09 2004 - 13:42:11 CST

Original text of this message

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