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
purushotham.k9
SSCommitted
Points: 1992
More actions
December 8, 2009 at 7:56 am
#1089244
I am trying to generate the months dynamically. I should have to get the months till current month(i.e Jan-Nov). In Jan 2010 i should have to generate the months from Jan-Dec.
in another view i will be using them in pivot to do some calculations.