Zamiast sysdate
, wypróbuj CURRENT_TIMESTAMP
jak:
CREATE TABLE foo (
creation_time DATETIME DEFAULT CURRENT_TIMESTAMP,
modification_time DATETIME ON UPDATE CURRENT_TIMESTAMP
)
Zamiast sysdate
, wypróbuj CURRENT_TIMESTAMP
jak:
CREATE TABLE foo (
creation_time DATETIME DEFAULT CURRENT_TIMESTAMP,
modification_time DATETIME ON UPDATE CURRENT_TIMESTAMP
)