Logical Operations in PL/SQL in Oracle

Q

What Are the Logical Operations in Oracle?

✍: FYIcenter.com

A

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;

 

Categories of Data Types in PL/SQL in Oracle

Numeric Comparison Operations in Oracle

Understanding PL/SQL Language Basics

⇑⇑ Oracle Database Tutorials

2018-08-06, 1624🔥, 0💬