Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Should I check existence of Global variable
Very easy : use the default_value built-in, it check if the global exists, this way :
....
default_value(:global.my_global_var, 'X'); -- If not exists, create
[]s
Chiappa
In article <91jrt6$n1r$1_at_nnrp1.deja.com>,
asifabbas_at_my-deja.com wrote:
> Hello,
>
> I want to check whether Global variable already used or not. Because I
> developer 6 if Global variable is not already used and I tried to
check
> its value, a error message is displayed. And without this check I
cannot
> continue to developed that part of software.
>
> Asif Abbas.
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
Received on Mon Dec 18 2000 - 04:21:56 CST
![]() |
![]() |