16.20 - Examples: Intersects - 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 skey
   FROM sample_MBRs
   WHERE shape_mbr.Intersects(NEW MBR(5, 5, 10, 10)) = 1;

   SELECT skey
   FROM sample_MBBs
   WHERE shape_mbb.Intersects(NEW MBB(5, 5, 5, 10, 10, 10)) = 1;