oracle正则表达式函数:


自定义正则表达式函数



owa_pattern.match(exp, regexp) 这个函数可以用来做正则表达式的判断。


create or replace function match_c (exp varchar2, regexp varchar2) return number as
ret number;
begin
if (owa_pattern.match(exp, regexp)) then
return 1;
else
return 0;
end if;
end;

 

select match_c('12343','d+') from dual

 

转载于:https://www.cnblogs.com/fhj2050/archive/2008/01/20/1046034.html

相关文章:

  • 2021-06-10
  • 2021-11-29
  • 2022-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
猜你喜欢
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-02-12
  • 2021-05-17
  • 2021-09-05
相关资源
相似解决方案