当前位置:Gxlcms > mysql > sqlserver中将varchar类型转换为int型

sqlserver中将varchar类型转换为int型

时间:2021-07-01 10:21:17 帮助过:854人阅读

无详细内容 无 select * from yourtable order by cast(yourcol as int); select * from yourtable order by convert(int,yourcol);

<无详细内容> <无>
select * from yourtable order by cast(yourcol as int); 

select * from yourtable order by convert(int,yourcol); 

人气教程排行