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: Any trick for preventing sqlplus asking value for &1???

Re: Any trick for preventing sqlplus asking value for &1???

From: DA Morgan <damorgan_at_exesolutions.com>
Date: Tue, 04 Mar 2003 14:15:00 -0800
Message-ID: <3E652564.B71B0020@exesolutions.com>


Massimiliano wrote:

> Hi,
>
> I wrote a scritp which I execute from sqlplus in this way:
>
> @script.sql <parameter>
>
> In the script I use the parameter (&1).
>
> My question is:
> is it possibile to execute the script without passing the parameter
> and using some default value?
> Infact, I must execute the script with or without the parameter. In
> case I don't pass parameter I wouldn't want sqlplus asking for it.
>
> Tia
>
> Max

SQL> SET DEFINE OFF Daniel Morgan Received on Tue Mar 04 2003 - 16:15:00 CST

Original text of this message

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