Returns the absolute value of an expression.
abs(numeric_expression)
select abs(-1)
----------- 1
abs, a mathematical function, returns the absolute value of a given expression. Results are of the same type and have the same precision and scale as the numeric expression.
See also Transact-SQL Users Guide.
ANSI SQL – Compliance level: Transact-SQL extension.
Any user can execute abs.