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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Passing String Arguments to SQL*Plus from a Unix Shell

Re: Passing String Arguments to SQL*Plus from a Unix Shell

From: Uwe Küchler <uwe_at_kuechler.org>
Date: Thu, 29 Mar 2007 16:35:58 +0200 (CEST)
Message-ID: <56240.193.24.34.77.1175178958.squirrel@kuechler.org>


<quote who="Nigel Thomas">

> $ sqlplus -s nthomas/nthomas <<END
>
>> define 1="'1','2'" define 2="'3','4'" @show_inputs
>> exit END
>>
>
> P1='1','2'
> p2='3','4'

Good idea! I must confess that I used this method in other cases but I was so stuck in my approach that I didn't think of that. Thanks for showing me the light. ;-)

Regards,
Uwe

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Mar 29 2007 - 09:35:58 CDT

Original text of this message

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