sqlserver中将varchar类型转换为int型 2015/01/27 13867 select * from yourtable order by cast(yourcol as int); select * from yourtable order by convert(int,yourcol);