Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Inarguments to a sqlplus script.
It's all in how you name the variables in the script. The need to be named
&1 &2 &3 and so on. Then, you invoke the script as you have already
indicated.
Henrik Otto <ottoh_at_space.se> wrote in message news:3826CF29.24CB_at_space.se...
> How can I read in arguments when starting a script?
>
> example of what I want to do:
> @script arg1 arg2
>
> instead of using accept inside the scripts.
>
> Then use the arguments to query from tables with that name etc.
>
> Thanks for your time.
>
> /Henrik
Received on Mon Nov 08 1999 - 09:27:37 CST
![]() |
![]() |