TO_BOOLEAN



Converts a value to BOOLEAN data type.

Syntax

TO_BOOLEAN( <expr> )

Examples

SELECT TO_BOOLEAN('true'); ┌────────────────────┐ │ to_boolean('true') │ ├────────────────────┤ │ true │ └────────────────────┘

Was this page helpful?