1.datatime:convert(varchar(10),时间,121)
2.money:
DECLARE @m MONEY
SET @m=1.2345
DECLARE @c VARCHAR(20)
SET @c=ROUND(@m,2)
PRINT @c

相关文章: