dmi*_*try 7 mysql database-design spatial
我正在尝试在表column(bbox polygon default NULL)上创建空间索引,但得到错误:All parts of a SPATIAL index must be NOT NULL.
bbox polygon default NULL
All parts of a SPATIAL index must be NOT NULL
问题是我认为有些行会包含NULL.问题是:有没有办法用默认的空多边形声明列?
bar*_*ter 2
只需定义列 NOT NULL 并且没有默认值。
空间列有一个隐式默认值“空”。
不幸的是,因为你在插入时收到警告,说没有默认值;但你也不能有一个明确的默认值。
归档时间:
14 年 前
查看次数:
693 次
最近记录:
11 年,11 月 前