标签:
update T_Sys_Partner set EXPIREDATE = convert(nvarchar,year(EXPIREDATE))+‘-‘+‘6‘ + right(convert(nvarchar(19),EXPIREDATE ,120),12) WHERE MONTH(ExpireDate) = 4
Sql Server -更新语句,修改的字段是日期时间型,修改其中的月份
标签:
原文地址:http://www.cnblogs.com/dekevin/p/4503109.html