MySQL Forums
Forum List  »  Newbie

Re: inserting + sorting
Posted by: Mateus Almeida da Silva
Date: March 30, 2012 05:44AM

Hi irek kordirko.
Thanks for the excellent tips. About your question:

"What exactly do you mean "difference in months"?"

Sorry, I meant that the difference should be expressed as amount of months. Like: "yyyy1-m1-d1" - "yyyy2-m2-d2" = X months

About rounding: I was expecting the minor value. So:

""2012-01-02" minus "2012-01-01" - should be 0 or 1 month ?"
Should be 0.

Thanks again, you were very helpful.

Options: ReplyQuote


Subject
Written By
Posted
March 29, 2012 04:08PM
March 29, 2012 04:10PM
Re: inserting + sorting
March 30, 2012 05:44AM


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.