oracle - PL/SQL Conditional Compilation with Conditional Operators -


can use conditional operators "and" , "or" in oracle conditional compilation?

$if $$con1 , $$con2 $then   $end 

yes, can try below code

declare   $if 1 = 1 ,  1= 1 $then    cursor c1    select 'a' dual;  $else    cursor c2    select 'b' dual;  $end  begin   dbms_output.put_line('working');  open c2;  close c2;  end; 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -