Skip to main content
Returns the bitwise negation of a numeric expression.

Syntax

Parameters

x: This expression must evaluate to any of the following data types: TINYINT, SMALLINT, INT, BIGINT, LARGEINT.

Return value

The return value has the same type as x. If any value is NULL, the result is NULL.

Examples

Text