Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法插入“0000-00-00 00:00:00”以从PHP 发送以将其存储在 MySql 数据库中?
我应该将数据库字段的默认值更改为"0000-00-00 00:00:00"吗?
不要将任何参数传递给您的DateTime专栏。
DateTime
insert into table_name (column_name) values('');
用于更新
update table_name set column_name='' where other_column_name=value