Absolute knowledge corrupts absolutely
Chuck Jolley, July 23, 2007 - 2:25 pm UTC
Tom,
1, Is there some way to have that fact removed from my brain?
2, Is there some way to block access to that answer from our domain for our other programmers?
3, Does this mean PL/SQL supports GOTO?
Seriously, are there any useful uses for labels in PL/SQL code?
July 24, 2007 - 9:04 am UTC
3) yes, indeed it does.
Absolute Knowledge
Vaijanath, July 24, 2007 - 1:21 am UTC
I think our friend Chuck Jolley is over reacting a bit. A practical use of above is indeed rare (and not desirable) but there is no problem in throwing light on the matter.
July 24, 2007 - 9:40 am UTC
I think there was humor involved in Chuck's response :)
Tongue in cheek.
If something is rare (and not desirable), then I would say it should be non-existent myself....
A reader, July 24, 2007 - 11:41 am UTC
Well of course I was being humorous.
I really only wanted to block access by our less experienced programmers. ;)
didn't know about the labels
James, July 25, 2007 - 3:07 am UTC
Glad I found out about this!
It's usefull for testing a section of code in an anonymous pl/sql block that was ripped from a procedure that might reference some variables with a scope label.
In the past I would have to manually remove all references
to my_proc.variable_name and just use variable_name if I wanted to test it.
Now i just start my block with
<<my_proc>>
sweet!
Mayur Pawar, November 26, 2015 - 9:36 pm UTC
Thank You it was really useful for me..!!
November 27, 2015 - 2:38 am UTC
Thank you for the feedback