17.05 - Example: ST_Area - Teradata Database

Teradata Vantage™ - Geospatial Data Types

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1181-170K
   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);