Skip to main content

BOOL_AND

Categories: Conditional

BOOL_AND

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

Syntax

BOOL_AND(bool_expression1 boolean, bool_expression2 boolean) → boolean

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

Examples

BOOL_AND example
SELECT BOOLEANAND(TRUE, FALSE)
-- False