Mysql date insert null method: first connect to the MySQL server; then use the use keyword to complete the database selection operation; finally insert a NULL into the date data type, the code is [insert into user (time) values ( null)].
3. Create a simple table, where the date time format supports NULL assignment, example:
create table user( id int(10) auto_increment primary key, time date);
The above is the detailed content of how to insert null in mysql date, please pay attention to other related articles on 1024programmer.com for more information!