On this page

    Categories: Boolean

    ISTRUE

    Returns TRUE if the input expression evaluates to TRUE.

    Syntax

    ISTRUE(expression int64) → boolean

    • expression: Input expression.

    Examples

    SELECT ISTRUE(1)
    -- True
    

    ISTRUE(expression boolean) → boolean

    • expression: Input expression.

    Examples

    SELECT ISTRUE(FALSE)
    -- False
    

    ISTRUE(expression int32) → boolean

    • expression: Input expression.

    Examples

    SELECT ISTRUE(0)
    -- False