PL/SQL fill variable with if-condition value -
I am trying to fill a variable in PL / SQL such as if-condition value:
< P v_variable: = if (4> 3) then 'a' bse 'b' and;
But that does not work.
Is there any option to do this? Instead of doing so, a if
, I
go with:
v_variable: = when the 4> 3 then 'A' and 'B' end;
Comments
Post a Comment