tencent cloud

All product documents
Stream Compute Service
Logic Functions
Last updated: 2023-11-08 14:20:13
Logic Functions
Last updated: 2023-11-08 14:20:13
Logical functions are used to perform logical operations, and the result is a Boolean value.
Three logical statuses are available: TRUE, FALSE, and UNKNOWN (represented by NULL). Therefore, NOT TRUE is not necessarily FALSE; it can also be UNKNOWN.
Function
Description
boolean1 OR boolean2
Returns TRUE if boolean1 or boolean2 is TRUE.
boolean1 AND boolean2
Returns TRUE if boolean1 and boolean2 are both TRUE.
NOT boolean
Returns TRUE if boolean is FALSE; returns FALSE if boolean is TRUE; returns UNKNOWN if boolean is UNKNOWN.
boolean IS FALSE
Returns TRUE if boolean is FALSE; returns FALSE if boolean is UNKNOWN.
boolean IS NOT FALSE
Returns TRUE if boolean is not FALSE; returns TRUE if boolean is UNKNOWN.
boolean IS UNKNOWN
Returns TRUE if boolean is UNKNOWN; otherwise FALSE.
boolean IS NOT UNKNOWN
Returns TRUE if boolean is not UNKNOWN; otherwise FALSE.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon