Example: ST_Area

Teradata Vantage™ Geospatial Data Types

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1181-162K
   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);