Hi All,
I get the last day of previous month in below format.
(DT_WSTR,200)(DT_DBDATE)DATEADD("d", -DAY(GETDATE()), DATEADD("m", 0, GETDATE()))
But I want to get last day of previous month in the below format.
2014_04_30
-kccrga http://dbatrend.blogspot.com.au/