当前位置:网站首页>Oracle string sorting

Oracle string sorting

2022-07-07 23:36:00 Rain fish in summer

oracle String sort

select * from table order by  to_number(id)

oracle String numeric part sort

Use regular

select * from table order by  to_number(regexp_replace(id,'[^0-9]'))
原网站

版权声明
本文为[Rain fish in summer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130557396634.html