当前位置: 数据库>oracle
Oracle判断指定列是否全部为数字的sql语句
来源: 互联网 发布时间:2014-10-04
本文导语: 代码如下: select nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ') from customer_info where nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ')='is number '
代码如下:
select nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ') from customer_info where nvl2(translate(name,'1234567890 ', ''),'is characters ','is number ')='is number '