有些记录如下
ABC32443
3424/334
33444现在想只取出不含字母的记录如
3424/334
33444该如何写select ?
ABC32443
3424/334
33444现在想只取出不含字母的记录如
3424/334
33444该如何写select ?
解决方案 »
- oracle下插入特殊字符
- 熟悉 pl/sql 的请进!!!!!!
- 高手看看imp导入数据库为什么会出错?
- OEM初学者指南
- sql语句 请高手帮忙解决一下
- 请问高手,ORACLE9I高级复制对CLOB、BLOB类型的字段有没有要求?能不能复制?该怎样处理?最好有示例
- 这个是什么错误?:Data provider internal error(-3000)
- Oracle9.2里面是不是有什么占用了8080端口,致使我的Tomcat和Resin都不好用了???
- 看看这个SQL语句错在哪里?在线等待!
- oracle 报错提示ora-20001在解决
- 我的代码错在哪??创建插入雇员的存储过程INSERT_EMP,并将雇员编号等作为参数。
- 关于GATHER_STATS_JOB的schedule
with tmp as
(
select 'ABC32443' col1 from dual union all
select '3424/334' col1 from dual union all
select '33444' col1 from dual)
select * from tmp
where not regexp_like(col1, '[a-z]','i');COL1
------------
3424/334
33444
1
----------
1
SQL> select 1 from dual where not regexp_like('32443a','[a-z]','i');
1
----------
SQL>
SQL> with tb as
2 (select 'ABC32443' bm from dual union all
3 select '3424/334' from dual union all
4 select '33444' from dual )
5 select bm from tb where not regexp_like(bm,'[[:alpha:]]')
6 /BM
--------
3424/334
33444
select * from table_name where not regexp_like(col_name,'[[:alpha:]]')