The following example displays the sign of -5, 5, and 0, respectively:
SQL> SQL> SELECT SIGN(-5), SIGN(5), SIGN(0) FROM dual; SIGN(-5) SIGN(5) SIGN(0) ---------- ---------- ---------- -1 1 0 SQL>