16.20 - 例: ST_3DLength - Teradata Vantage NewSQL Engine

Teradata Vantage™ 地理空間データ型

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
プログラミング リファレンス
featnum
B035-1181-162K-JPN
   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;