select datepart from life_unite_product
查看日志存档 - 燕过有痕 ... select datepart(yy,createtime) from life_unite_product --取时间字段的年值 select datepart(qq,createtime) from life_unite_product --取时间字段的季度值 select datepart(mm,createtime) from life_unite_product --取时间字段的月值 ...
基于22个网页-相关网页