📜  在 mysql 代码示例中插入当前日期

📅  最后修改于: 2022-03-11 15:05:18.189000             🧑  作者: Mango

代码示例3
INSERT INTO my_table (last_updated) VALUES(NOW());
INSERT INTO my_table (last_updated) VALUES(sysdate);    -- Oracle
INSERT INTO my_table (last_updated) VALUES(getdate());    -- SQL Server