取数字n的符号,大于0返回1,小于0返回-1,等于0返回0
SQL>select sign(100),sign(-100),sign(0) from dual;
SIGN(100) SIGN(-100) SIGN(0)
1 -1 0
oracle中sign函数
猜你喜欢
转载自luckystar2008.iteye.com/blog/1908701
今日推荐
周排行