Using a Boolean variable instead of the comparison operation
SQL> SQL> DECLARE 2 equal BOOLEAN NOT NULL := TRUE; 3 BEGIN 4 IF equal THEN 5 dbms_output.put_line('Condition met!'); 6 END IF; 7 END; 8 / Condition met! PL/SQL procedure successfully completed.