Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: passing values to sql script freom dos prompt please help! need it urgently
Anurag Minocha wrote in message <377B7ECD.855D1974_at_synergy-infotech.com>...
>body:
>spool &filename
I think where you have &filename you need &1 - this will map to the first command line parameter
>select * from tab;
>spool off
>
>from the dos prompt i gave
>c:\>sqlplus -s <username/pwd>@database @ test.sql tables.log
>
>It still asks me enter the filename.
s/b OK now
jeremy Received on Thu Jul 01 1999 - 10:38:18 CDT
![]() |
![]() |