Reply to setting default date column to NOW()

Your name:

Reply:


Posted by laredotornado on 10/21/05 05:15

Hello,
I am running MySQL 4. I was curious, how do you make the DATE or
TIMESTAMP column's default value whatever the time was that the row was
created. I would prefer not to specify the "NOW()" function in my
INSERT statement, but rather would like to have that automatically
happen upon new row creation.

Is it possible?

Thanks, - Dave

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация