Example: ST_3DLength - Analytics Database - Teradata Vantage

Geospatial Data Types

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-08-30
dita:mapPath
qgk1628112272483.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ghz1472251264557
lifecycle
latest
Product Category
Teradata Vantage™
   CREATE TABLE sample_shapes(skey INTEGER, shape ST_Geometry);
   INSERT sample_shapes(9901,
                    'Linestring(0 0 0, 0 5 5, 5 5 5, 5 0 5, 0 0 0)');
   INSERT sample_shapes(9902,
                    'Linestring(0 0 0, 1 1 1, 2 2 2, 3 3 3, 4 4 4)');

   SELECT Shape.ST_3DLength()
   FROM sample_shapes;