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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -