本文摘自:http://blog.csdn.net/zc19820620/article/details/2043829 CONVERT (data_type[(length)], expression [, style]) convert(varchar(10),getdate(),101) 参数 data_type 目标系统所提供的数据类型,包括 bigint 和 sql_variant.不能使用用户定义的数据类型. length nchar.nvarchar.char.varchar.bi…