DELETE FROMtemp
WHEREMSDate < '2014-07-15'
Actually our business year starts from july 1st so we need to delete the data prior to july 15th of every year for this I need help to create function and it has to be deleted prior to current year
Example the year starts from 2014-07-01 to 2015-06-30 is called 2015 year and it has variable upto july 15th