MySQL Forums
Forum List  »  InnoDB

Re: Update statement giving errors
Posted by: Roland Bouman
Date: January 04, 2006 07:55PM

Hi,

[this has got nothing to do with transactions, post in the connector/.NET forum for this type of question]

Is this a valid dataformat in MySQL? I think you should just use:

Update myTable set DOB = '1979-02-23', Name = 'vvv', Age = 14 where UserId = 2

or else use on of the date/time formatting functions (see: http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html)



Edited 1 time(s). Last edit at 01/04/2006 07:56PM by Roland Bouman.

Options: ReplyQuote


Subject
Views
Written By
Posted
2393
January 04, 2006 06:55AM
Re: Update statement giving errors
1513
January 04, 2006 07:55PM


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.