17.05 - Syntax - Teradata Database

Teradata Vantageā„¢ - Geospatial Data Types

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1181-170K
SYSSPATIAL.SphericalDistance ( lat1, lon1, lat2, lon2 )
lat1, lon1
The latitude and longitude of the first point on the planet.

The data type of lat1 and lon1 is FLOAT.

lat2, lon2
The latitude and longitude of the second point on the planet.

The data type of lat2 and lon2 is FLOAT.