码迷,mamicode.com
首页 > 数据库 > 详细

Oracle判断值为非数字

时间:2014-09-30 15:56:49      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:oracle   select   number   

select * from product_info t where t.contract_detailid is not null
and length(translate(t.contract_detailid,'-.0123456789'||t.contract_detailid,'-.0123456789'))<>length(t.contract_detailid) for update

Oracle判断值为非数字

标签:oracle   select   number   

原文地址:http://blog.csdn.net/jrainbow/article/details/39695545

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!