📅  最后修改于: 2022-03-11 15:05:28.799000             🧑  作者: Mango
SHOW VARIABLES LIKE 'sql_mode'; -- enabled if STRICT_TRANS_TABLES is present
SET GLOBAL sql_mode = ''; -- disables strict mode
SET GLOBAL sql_mode = 'STRICT_TRANS_TABLES'; -- enables strict mode