What does mean by "< < my_label > >.

Hello my dear all,.

I want to know, what is the average by * < < label > > * in PL/SQL. Many examples of procedures and forms, I read it but could not understand what it means

Here is an example.

DECLARE
pe_ratio NUMBER (3,1);
BEGIN
DROP statistics symbol WHERE = "XYZ";
SELECT price / NVL(earnings, 0) IN stock pe_ratio
WHERE the symbol = "XYZ";
+ < < my_label > > +.
INSERT INTO stats (symbol, ratio) VALUES ("XYZ", pe_ratio);
END;

The < < Label > > is used with GOTO. Http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/goto_statement.htm#LNPLS01323, see especially the links to examples at the bottom of the page.

GOTO should be avoided as much as possible, because it is not "structured programming".

BTW, your query should be displayed in {forum: id = 75}
Kind regards

Published by: Amélie on May 23, 2012 11:08

Tags: Oracle Development

Similar Questions

Maybe you are looking for