MySQL Forums
Forum List  »  Newbie

Re: insert Interval
Posted by: Felix Geerinckx
Date: August 17, 2005 11:57AM

Jacob Buhler wrote:

> "insert into tbl(field name) values('$value' + interval 3 month)";

Can you post the "real" insert (with host language variables expanded)? You cannot have spaces in field names (but I suppose that's a typo). Apart from that, the above should work as long as $value contains a valid date.

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
August 17, 2005 11:49AM
Re: insert Interval
August 17, 2005 11:57AM
August 17, 2005 12:06PM
August 17, 2005 12:25PM
August 17, 2005 01:35PM


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.