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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -