Drops a spatial unit of measurement.
Syntax
DROP SPATIAL UNIT OF MEASURE [ IF EXISTS ]
<identifier>
Parameters
(back to top)
- IF EXISTS prevents an error from being returned when the
DROP SPATIAL UNIT OF MEASURE
statement attempts to remove a spatial unit of measure that does not
exist.
Examples
(back to top)
- Example the following example drops a fictitious
spatial unit of measure named Test:
DROP SPATIAL UNIT OF MEASURE Test;
Standards
(back to top)
ANSI SQL–Compliance level: Transact-SQL extension.
Permissions
(back to top)
Requires one of:
- MANAGE ANY SPATIAL OBJECT system privilege.
- DROP ANY OBJECT system privilege.
- You own the spatial unit of measure.