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

cmake set_source_files_properties not working properly -

python - Writing Greek in matplotlib labels, titles -

Pygame memory leak with transform.flip -