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
Post a Comment