1.cast(字段名 as varchar(40)) 2.convert(varchar(50),字段名) 日期转换: CONVERT(varchar(20), GETDATE(),120) 转载于:https://www.cnblogs.com/liuguangfa/p/5175982.html