oralce正则

--1.正则判断,适用于10g以上版本
--非正整数 
select 字段 fromwhere regexp_replace(字段,'d','') is not null;
--非数值类型
select 字段 fromwhere regexp_replace(字段,'^[-+]?d+(.d+)?$','') is not null;
--2.自定义函数,判断非值类型
create or replace function isnumber(col varchar2) return integer is
  i number;
begin
  i := to_number(col);
  return 1;
exception
  when others then
    return 0;
end;
select 字段 fromwhere isnumber(字段)=0;
--以上百度 待补充
原文地址:https://www.cnblogs.com/Babylon/p/8032733.html