Hello,
I need to rename the file depending on the below given scenario.
If the today's date falls between last months 22nd to current month 21st, I need to rename it with current month.
for example- If date falls between 06/22/2012 to 07/21/2012. So in this scenario the FILE name will have 07/12 appended.
As, I was trying to use GETDATE() I am facing some problem using BETWEEN.
Please suggest approach for same.
Thank You,
madhur_ms
madhur_ms