Mega Code Archive

 
Categories / Oracle PLSQL / Select Query
 

AND operator allows you to combine two comparisons into one

SQL>  BEGIN   2    IF 1 = 1 AND 2 = 2 THEN   3     dbms_output.put_line('True.');   4    END IF;   5   END;   6   / True. PL/SQL procedure successfully completed.