Hello,
I need to find the first day of the next month two years ago based on the current day.
For example: If today's date is 2015/08/31 then I need to find the date range between 2015/08/31 and 2013/09/01. How do I write a SQL that can automate this calculate instead of hard-coding the values. Please do help me out with this so that I can build the SQL that can produce the desired output.
Thank you,
Dhilip