insert into order_reason (reason_info,reason_id_to,company_unid) values ('第一次配送成功','第一次配送成功','78')Database error: Invali
问题描述:
insert into order_reason (reason_info,reason_id_to,company_unid) values ('第一次配送成功','第一次配送成功','78')Database error: Invalid SQL: insert into order_reason (reason_info,reason_id_to,company_unid) values ('第一次配送成功','第一次配送成功','78')
MySQL Error: 1364 (Field 'reason_id' doesn't have a default value)
Session halted.
帮忙解决上面的问题,谢谢
答
reason_id' 没设置成自动增长吧?