Answers

Question and Answer:

  Home  Oracle Database

⟩ What Are the Logical Operations?

PL/SQL supports 3 logical operations as shown in the following sample script:

PROCEDURE proc_comparison AS

x BOOLEAN := TRUE;

y BOOLEAN := FALSE;

res BOOLEAN;

BEGIN

res = x AND y;

res = x OR y;

res = NOT x;

-- more statements

END;

 129 views

More Questions for you: