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
Post a Comment