MySQL Forums
Forum List  »  Newbie

Re: (Expiring Next Month) Problem
Posted by: Phillip Ward
Date: August 12, 2014 04:59AM

Have your application supply the desired Year and Month as parameters to the query instead of using NOW().
That way, when your customers ask ...
"Can we have all the contracts that are expiring in three months (or six months, or a year)?"
... you're covered.

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
August 12, 2014 01:44AM
Re: (Expiring Next Month) Problem
August 12, 2014 04:59AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.