Result: -1
SELECT SIGN(-0.1);
Result: -1
SELECT SIGN(0);
Result: 0
SELECT SIGN(0.1);
Result: 1
SELECT SIGN(14);
Result: 1
SELECT SIGN(2019-2014);
Result: 1
Previous article: ROUND function in SQL Server
Next article: SUM function in SQL Server