--oracle利用正则表达式判断字符串只包含数字
select * from bb where regexp_like(id,’^+?[1-9][0-9]*$’);

 

--利用Oracle函数及正则表达式进行排序 
order by to_number(regexp_substr(字段名,’[0-9]*[0-9]’,1))

相关文章:

  • 2021-06-29
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案