집 >데이터 베이스 >MySQL 튜토리얼 >sqlserver中将varchar类型转换为int型
无详细内容 无 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);