Mega Code Archive

 
Categories / MySQL / Geometric
 

POINT type column

mysql> mysql> CREATE TABLE mytable (     ->     id INT NOT NULL PRIMARY KEY,     ->     border POLYGON NOT NULL,     ->     ela LINESTRING,     ->     ref POINT     -> ); Query OK, 0 rows affected (0.00 sec) mysql> mysql> drop table mytable; Query OK, 0 rows affected (0.00 sec) mysql> mysql> mysql>