2015-04-02 118 views
0

我对多个地址进行了地理编码,但不幸的是,我在mySQL数据库中收到空值,该值正好会中断我的脚本。我想在我的数据库中允许空值,以便手动修复地址。是否可以允许我的当前列允许空值而不破坏我现有的记录?完整性约束违规 - 无MySQL

我看到的警告:Error! SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'coord_lat' cannot be null

image

enter image description here

回答

1

alter table和去除coord_lat列空完整性约束。

相关问题