Returns the sign (1 for positive, 0, or -1 for negative) of the specified value.
sign(numeric)
select sign(-123)
----------- -1
select sign(0)
----------- 0
select sign(123)
----------- 1
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 sign.