Skip to main content
Version: 24.3.x

Categories: Conditional

BOOL_OR

Computes the boolean OR of two boolean expressions. Returns TRUE if one or both expressions evaluate 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

BOOL_OR example
SELECT BOOLEANOR(TRUE, FALSE)
-- True