Example: ST_Intersection - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ Geospatial Data Types

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1181-162K
INSERT INTO sample_shapes
SELECT skey, new ST_Geometry(
 'LINESTRING (2 2,3 2,4 1)').ST_Intersection(streetShape)
FROM sample_streets
WHERE new ST_Geometry(
 'MultiPoint((2 2),(3 2))').ST_Intersects(streetShape) = 1;