Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Add spatial data to any table by adding a column that supports spatial data.
You must be the owner of the table, or have ALTER privilege on the table, or have the ALTER ANY TABLE or ALTER ANY OBJECT system privilege.
A spatial column is added to the existing table.
The following statement adds a spatial column named Location to the Customers table. The new column is of spatial data type ST_Point, and has a declared SRID of 1000004326, which is a flat-Earth spatial reference system.
ALTER TABLE GROUPO.Customers ADD Location ST_Point(SRID=1000004326);
You can place SRID constraints on the column to place restrictions on the values that can be stored in a spatial column.