Logical Conditions
Description
Logical conditions combine the result of two conditions to produce a single result. All logical conditions are binary operators with a Boolean return type. (Redshift SQL Language reference Logical Conditions).
This grammar is fully supported in Snowflake.
Grammar Syntax
E1
E2
E1 AND E2
E1 OR E2
NOT E2
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
FALSE
FALSE
TRUE
TRUE
TRUE
UNKNOWN
UNKNOWN
TRUE
UNKNOWN
FALSE
TRUE
FALSE
TRUE
FALSE
FALSE
FALSE
FALSE
FALSE
UNKNOWN
FALSE
UNKNOWN
UNKNOWN
TRUE
UNKNOWN
TRUE
UNKNOWN
FALSE
FALSE
UNKNOWN
UNKNOWN
UNKNOWN
UNKNOWN
UNKNOWN
Sample Source Patterns
Setup data
Input Code:
IN -> Redshift_01.sql
Output Code:
OUT -> Redshift_01.sql
Known Issues
No issues were found.
Related EWIs
There are no known issues.
Last updated