📜  mysql strict_trans_tables - SQL 代码示例

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

代码示例1
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