Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A mathematical function that returns the absolute (positive) value of the specified numeric expression.
Syntax
ABS (expression )
Argument
expression
Is an expression of the exact numeric or approximate numeric data type category. ABS can be used with bigint or float columns.
Return Type
Returns the same type as expression.
Example
SELECT ABS(input.x) AS "The ABS of the variable x"
FROM input