MySQL error code 1138:invalid use of NULL value cause and resolution-s

Source: Internet
Author: User

Tabular data I will not give, the specific reason is still: The default value is not set at the beginning of not NULL, and later want to modify the times wrong, because the modification will affect the initialization of many values of the settings, and not uniform, there may be columns allowed to be empty, and some columns are not allowed to be empty. At this point, the following operations can be done. For a more detailed explanation, see here: http://www.zhimengzhe.com/shujuku/MySQL/34845.html

I understand the things, the time will often be ambiguous or to let others do not understand, do not understand, so I will find a solution, understand and digest at the same time with my reference to the article link. This will allow me and the people who see this blog to have a clearer understanding, I also to strengthen the debugging of the error code and long-term record.

MySQL error code 1138:invalid use of NULL value cause and resolution-s

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.