create table #mytest
(
unit_no varchar(30)
)
insert into #mytest values ('12橦87(店面)'),('3'),('1'),('2'),('6'),('4'),('5'),('21'),('排序'),('28'),('20'),('18')
select * from #mytest order by ISNUMERIC(unit_no) desc,case when ISNUMERIC(unit_no)=0 then 0 else cast(unit_no as bigint) end
数字、中文 排序方法
最新推荐文章于 2024-02-20 10:35:46 发布