MySQL server can set different SQL modes as per requirements using ‘sql_mode’ system variable, below is default mode in 5.7 version
mysql> show variables like ‘sql_mode’;
+—————+———————————————————————————————————-+
| Variable_name | Value |
+—————+————————————————————————————————————+
| sql_mode | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION...
Showing posts with label mysql sql_mode. Show all posts
Showing posts with label mysql sql_mode. Show all posts