17.10 - Example: GetUserFldCount - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1181-171K
Language
English (United States)
CREATE TABLE sample_shapes(skey INTEGER, shape ST_Geometry);

INSERT INTO sample_shapes ( 100,'GeoSequence( (10 10, 15 15, -2 0) ,
(2007-03-14 01:35:00, 2007-03-14 01:35:05, 2007-03-14 01:35:08),
(1222, 1223, 1224),(2, 12.1, 3.14159, 2.78128, -10, -11, 100.1))' );

   SELECT skey
   FROM sample_shapes
   WHERE (shape.GetUserFldCount() < 3)
   ORDER BY skey;