Home > Database > Mysql Tutorial > body text

mysql里面没设置默认值字段也不允许为空,插入语句中也没指定值却能插入成功!是什么情况??

WBOY
Release: 2016-06-06 09:42:23
Original
1597 people have browsed it

mysql

如题,我的表结构是这样的
图片说明

SQL语句:INSERT INTO test (name) VALUES ('lsq2')
图片说明

求大神帮忙!!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template