oracle按照某一字段里的数字排序

select * from LSK_SBCAJ t order by to_number(REGEXP_SUBSTR(xnum,'[0-9]+')) desc;

猜你喜欢

转载自zhuyufufu.iteye.com/blog/2146128