MySQL: Column automaticly current time of insert -


i creating new table, , each row have column equal time row inserted table. there way in create table statement or have in insert statement?

this should work:

create table table1 (   timestampcolumn timestamp default current_timestamp on update current_timestamp ); 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -