Example: ST_Area - Advanced SQL Engine - Teradata Database

Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
ufo1590694251930.ditamap
dita:ditavalPath
ufo1590694251930.ditaval
dita:id
B035-1181
lifecycle
previous
Product Category
Teradata Vantage™
   CREATE TABLE sample_shapes (skey INTEGER, shape ST_Geometry);

   INSERT sample_shapes 
     (1,'Polygon((30 30, 30 60, 60 60, 60 30, 30 30))');

   SELECT skey
   FROM sample_shapes
   WHERE (shape.ST_Area() < 100.5);