16.20 - Example: ST_Overlaps - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Geospatial Data Types

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1181-162K
Language
English (United States)
   SELECT cityName
   FROM sample_cities
   WHERE cityShape.ST_Overlaps(
      NEW ST_Geometry('POLYGON((1 1, 1 3, 6 3, 6 0, 1 1))')) = 1;