首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

oracle查询非数字开头的值解决思路

2012-03-20 
oracle查询非数字开头的值select * from tabwhere trn1 not like [0-9]%这样在SqlServer下可以查询,但是

oracle查询非数字开头的值
select * from tab
where trn1 not like '[0-9]%'这样在SqlServer下可以查询,但是oracle下就不起作用了,请大侠指点

[解决办法]
select * from table where substr(col,1,1) not between '0' and '9'

热点排行