MySQL Forums
Forum List  »  Newbie

Re: datediff
Posted by: Peter Brawley
Date: June 24, 2012 12:18PM

IfNull( discharge_date, CurDate() ) returns to its caller, in this case DateDiff(), discharge_date unless that's null, in which case it returns CurDate().

Options: ReplyQuote


Subject
Written By
Posted
June 23, 2012 04:41PM
June 23, 2012 07:53PM
June 24, 2012 11:51AM
Re: datediff
June 24, 2012 12:18PM


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.