MySQL Forums
Forum List  »  Newbie

Re: DATE_ADD sytax
Posted by: Ramalingam Chelliah
Date: September 02, 2004 09:46PM

Hi,
REmove the parantheses surrounding '7 day' and use '-' instead of '/' in Date format preferably...
'2004-10-01'

DATE_ADD('2004-10-01',INTERVAL 7 day)

Hope this helps you...

Regards,
Ram.



We Learn the Most When we have to Invent

Options: ReplyQuote


Subject
Written By
Posted
September 02, 2004 12:39PM
Re: DATE_ADD sytax
September 02, 2004 09:46PM


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.