Can I write IF ... THEN ... GOTO statements in one single line of code in Oracle PL/SQL?
Sure you can, here is the syntax example:
if cursor_record.error_code is not null then goto validation_error; end if;
....
....
<<validation_error>>
-- do something
FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.
Boost your productivity with FavScripts.com!