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: procedure with optional parameter

Re: procedure with optional parameter

From: Jim Kennedy <kennedy-down_with_spammers_at_attbi.com>
Date: Tue, 14 Jan 2003 03:16:02 GMT
Message-ID: <ShLU9.42656$Dn.8118@sccrnsc03>


define a default for the parameter or overload the procedure .(same name, different # of parameters)
eg
create or replace procedure myProc( param1 in varchar2, param2 in varchar2 default 'FOO');
Jim

--
Replace part of the email address: kennedy-down_with_spammers_at_attbi.com
with family.  Remove the negative part, keep the minus sign.  You can figure
it out.
"bart" <bart_at_projectbeta.org> wrote in message
news:ncKU9.10971$ym5.1581_at_afrodite.telenet-ops.be...

> hellow,
>
> How can I create a pl/sql procedure with optional parameters?
>
> so I can call the procedure without passing all the values?
>
> thx
>
>
Received on Mon Jan 13 2003 - 21:16:02 CST

Original text of this message

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