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

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -