阅读背景:

如何在T-SQL 2005中获得过去12个月的循环?

来源:互联网 

At the moment I use DATEPART(yy, MY_DATE) = DATEPART(yy, GETDATE()) to get Year-To-Date details and have to convert it into the revolving last 12 months. How would I do that?At the moment I use DATEPART(yy, MY_DATE) = DAT




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: