PPT Slide
Using the sign( ) function
sign( ) assists in identifying a number
to be positive or negative. If the number
passed is positive, sign( ) returns 1, and if
the number is negative, sign( ) returns –1.
If the number is zero, sign( ) returns zero:
FROM DUAL;SIGN(-1933) SIGN(55) SIGN(0)---------- ----------- --------1 1 0