【发布时间】:2018-06-05 12:13:03
【问题描述】:
with temp(name) as (select 'abc' from dual
union select '123abc' from dual
union select '1abc3' from dual)
select * from temp where temp.name like '%[a-z]%'
为什么我无法在输出中获得所有 3 条记录 ,我用的是Oracle SQL Developer 11g
我使用此查询的原因是:我想检查所需列是否仅包含字符串,没有数字和特殊字符
【问题讨论】:
-
您使用的是什么数据库?请适当标记。
-
他正在使用 ORACLE。他正在使用双表。
标签: sql string oracle oracle11g