Categories: Conditional

BOOL_OR

Computes the boolean OR of two boolean expressions. Returns TRUE if one or both epxression(s) evaluate(s) to TRUE. Returns FALSE if both expressions evaluate to FALSE.

Syntax

BOOL_OR(bool_expression1 boolean, bool_expression2 boolean) → boolean

  • bool_expression1: Boolean input expression.
  • bool_expression2: Boolean input expression.

Examples

SELECT BOOLEANOR(TRUE, FALSE)
-- True