截取时间
--convert可以截取特点值
convert(varchar(10),getdate(),120)
截取2012-11-11 11:11:11 前10位,得到日期2012-11-11
转载于:https://www.cnblogs.com/teamate/p/3673885.html