not

Returns the negation of its boolean expression.

Example

Evaluate the expression COUNTRY_NAME and see if it is equal to the string “Germany”. If it is, return false. If it is equal to something else, return true.

not(SALES.COUNTRIES.COUNTRY_NAME = "Germany")

Syntax

not (bool expr)
  • expr : bool expression

    Returns

    bool

Notes

Function not returns the negation of its expression argument. It first evaluates the expression. If the expression evaluates to true it returns the opposite, or false. If the expression evaluates to false, it again returns the opposite, or true.


Related Links
© Incorta, Inc. All Rights Reserved.