OR operator combines two comparisons into one : OR « Select Query « Oracle PL / SQL
- Oracle PL / SQL
- Select Query
- OR
OR operator combines two comparisons into one
SQL>
SQL> BEGIN
2 IF 1 = 1 OR 1 = 2 THEN
3 dbms_output.put_line('True.');
4 END IF;
5 END;
6 /
True.
PL/SQL procedure successfully completed.
SQL>
SQL>
Related examples in the same category