MySQL Forums
Forum List  »  Informix

Re: What is exact type for informix datatime type in MYSQL
Posted by: Devesh Patel
Date: January 27, 2005 11:13AM

Hi Kamlesh,
MySQL supports 'datetime' datatype. It stores date (YYYY-MM-DD) and time (HH:MM:SS). If you are converting informix 'datetime year to minute' to MySQL 'datetime', MySQL will store '00' for 'second (SS)' portion of datetime.

For example:
Informix 'datetime year to minute' = 2004-06-29 09:57
will be converted to
MySQL 'datetime' = 2004-06-29 09:57:00

Hope this helps. For more information on MySQL Datetime, please look at http://dev.mysql.com/doc/mysql/en/datetime.html.

Regards,
Devesh

Devesh Patel, Senior Consultant
MySQL Inc.
Get More with MySQL! http://www.mysql.com/consulting

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: What is exact type for informix datatime type in MYSQL
7963
January 27, 2005 11:13AM


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.