Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 12 month rolling data

Author  Topic 

sql1983
Starting Member

3 Posts

Posted - 2007-10-03 : 15:34:40
Hi All,
I wanna pull a 12 month rolling data and donno how to do that, can anybody help ?
Problem:
lets say if i run the query today i should get data between oct-3-2006 and oct-3-2007, my main colums is monthyear which is date datatype.
Appreciate your help.
Thanks
Chinna

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2007-10-03 : 15:43:19
Duplicate. http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=90426


=================================================
Creating tomorrow's legacy systems today. One crisis at a time.
Go to Top of Page
   

- Advertisement -