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

Home -> Community -> Usenet -> c.d.o.server -> Re: Defaulting the parameters in a sqlplus script.

Re: Defaulting the parameters in a sqlplus script.

From: Dank <dank_at_thefort.org>
Date: Sat, 22 May 2004 14:58:13 +0100
Message-ID: <opr8emfbhfnh5v7r@news.easynet.co.uk>


On 19 May 2004 08:43:10 -0500, Galen Boyer <galenboyer_at_hotpop.com> wrote:

> Is this possible, so that you don't have to pass all parameters at
> the command-line? I'm on 9i if there are any later features for
> this.
>

just use the default option, e.g:

create or replace procedure default_test (moo in varchar2 default 'toot')
is
begin
dbms_output.put_line(moo);
end;
/

-- 
If we can't play God, who will?
Received on Sat May 22 2004 - 08:58:13 CDT

Original text of this message

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