POINT()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Constructs a WKB Point using the given coordinates.
EXAMPLES
CREATE TABLE t1 (c1 POINT);
INSERT INTO t1 VALUES (Point(1,1));
SELECT ST_AsText(c1) FROM t1;
+---------------+
| ST_AsText(c1) |
+---------------+
| POINT(1 1) |
+---------------+
CREATE TABLE geom (g GEOMETRY);
INSERT INTO geom VALUES (POINT(15,20));
SELECT ST_AsText(g) FROM geom;
+--------------+
| ST_AsText(g) |
+--------------+
| POINT(15 20) |
+--------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.