hii,
i've doubt to get last date of Previous month in sqlserver 2008.
i've used
"select DATEADD(day,-1,DATEADD(month,@Month,DATEADD(year,@Year-1900,0)))"
it returns current last date of curent month,
i want last date of previous month by giving month and year.
Plase help me. it's urgent.
Thanks & Regards
Manoj Kumar