Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Counting arguments passed to SQL or PL/SQL?
Could you set it to something impossible and test for that?
Jim
"Jeff Wilson" <jwilson2000_at_home.com> wrote in message
news:nhRZ6.246704$p33.4982544_at_news1.sttls1.wa.home.com...
> Have checked all the on-line FAQs but can't find the answer to this.
>
> Have a PL/SQL script that takes optional arguments for switches and such.
I
> know &1, &2, etc., represent these arguments, but is there a variable that
> represents the number of arguments?
>
> The problem I'm having is that if a variable is not passed in, then SQL
asks
> for it's value if it is encountered in the script. I need some way of
> knowing if a variable is set.
>
> Thanks.
>
> --
> Jeff Wilson
> jwilson2000_at_home.com
> Eugene, Oregon
>
> (541) 684-8590
>
>
Received on Sat Jul 21 2001 - 16:16:25 CDT