Home Forums SQL Server 2005 SQL Server 2005 General Discussion select the last month in SQL server 2005 RE: select the last month in SQL server 2005
steveb.
SSC-Forever
Points: 46733
More actions
December 8, 2009 at 8:03 am
#1089249
That should work,
if you are looking at pivoting the data then you may find it useful to implement a calender table
http://codeinet.blogspot.com/2006/08/auxiliary-calendar-table-for-sql.html