日期:2014-05-17 浏览次数:20828 次
with t as ( select 'ASD3' ID,'000' ITEM from dual union all select 'A SD','023' from dual union all select 'A#pk','5' from dual union all select ' ','5' from dual )select * from t where regexp_like(id, '^([a-z]|[A-Z]|[0-9])*$'); --只包含大小字母或数字
------解决方案--------------------
正则匹配过滤 regexp_like