PL/SQL: IF ... THEN ... GOTO in one line of code

$0
=
$0
+
$0
No specific Bitcoin Bounty has been announced by author. Still, anyone could send Bitcoin Tips to those who provide a good answer.
0

Can I write IF ... THEN ... GOTO statements in one single line of code in Oracle PL/SQL?

Tags: ,

1 Answer - total earned - 0 BTC ($0 USD)

1
=
0
=
$0
Everyone, even non-registered users could send Bitcoin Tips to YOU if they are inspired by your answer!

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
SEND BITCOIN TIPS
1

Post Answer


Will Bitcoin Tipping become a new Internet Culture?


Please share our story! THANK YOU!