PLSQL

PL/SQL Boolean Data types.

PL/SQL Boolean Data types.

The Boolean data type stores the logical values that are used in the logical operations. These logical values are the Boolean values TRUE or FALSE and also the value NULL. And also, SQL has no data type equivalent to the BOOLEAN. However, Boolean values cannot used in –

  1. SQL statements
  2. Built-in SQL functions (such as TO_CHAR) 
  3. PL/SQL functions invoked from the SQL statements.