Du kan bruge regexp_like()
. For den stigende sortering:
order by (case when regexp_like(col, '^[0-9]+$') then 1 else 2 end) asc,
col asc
Du kan bruge regexp_like()
. For den stigende sortering:
order by (case when regexp_like(col, '^[0-9]+$') then 1 else 2 end) asc,
col asc