I would like to know if it is possible to automatically update the value of another TIMESTAMP column called date with the current date and time, similar to% the INSERT
function of MySQL?
I would like to know if it is possible to automatically update the value of another TIMESTAMP column called date with the current date and time, similar to% the INSERT
function of MySQL?
guys I got it with the simple sql command below. Thank you all
ALTER TABLE 'grade_edt' CHANGE 'data_ultima_mod'
'data_ultima_mod' DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP;