You can add spatial data to any table by adding a column that supports spatial data.
Prerequisites
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.
The table must have a primary key. Update and delete operations are not supported for tables that contain a spatial column unless a primary key is defined.
Connect to the database.
Create a new column:
In the left pane, expand the Tables list.
Right-click a table, then click New » Column.
Set the spatial data type:
Right-click the column name, then click Properties.
Click the Data Type tab.
Select Built-in type and choose a spatial data type from the dropdown list.
Select Set spatial reference system and choose a spatial reference system from the dropdown list.
Click OK.
Click File » Save.
Adding SRID column constraints
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |