How do you create a timestamp column in MySQL 3 on create only?

ben T asked:


I’m using mysql for a project (not my choice) and I need to create a column that just does a timestamp on create, not on every update. Simply using timestamp as the column type doesn’t work as it changes on update.
I want to clarify that this is mysql version 3

Fire Your Programmer grab your copy of Robert Planks Five Minute PHP

Post a Comment

You must be logged in to post a comment.