码迷,mamicode.com
首页 > 数据库 > 详细

MySQL中查看自带的SQL模式

时间:2015-09-19 16:52:53      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:mysql   sql mode   

MySQL中查看自带的SQL模式


Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9450
Server version: 5.6.24-log MySQL Community Server (GPL)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.

mysql> select @@sql_mode;
+----------------------------------------------------------------+
| @@sql_mode                                                     |
+----------------------------------------------------------------+
| STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
+----------------------------------------------------------------+
1 row in set (0.00 sec)


版权声明:本文为博主原创文章,未经博主允许不得转载。

MySQL中查看自带的SQL模式

标签:mysql   sql mode   

原文地址:http://blog.csdn.net/you23hai45/article/details/48575873

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!