You are viewing content for 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


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.


© Incorta, Inc. All Rights Reserved.