Is this at all possible in pl/sql:
I appreciate that you can populate the calue of the select statement into a variable and use that in the if but just want to know if the above is possible in any version of pl/sql.
Thanks
[blue]DBomrrsm[/blue]
[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
Code:
IF (select 1 from dual) = 1 THEN
-- Do something
ELSE
-- Do Something Else
END IF;
I appreciate that you can populate the calue of the select statement into a variable and use that in the if but just want to know if the above is possible in any version of pl/sql.
Thanks
[blue]DBomrrsm[/blue]
[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]