ST_X Method | Geospatial Data Types | Teradata Vantage - 17.10 - ST_X - 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)

Get and set the X coordinate of an ST_Point value.

Valid Data Types

ST_Point

Result Type

IF you pass in … THEN ST_X returns …
no argument a FLOAT value for the X coordinate.
the xcoord argument an ST_Geometry value where the X coordinate is set to xcoord.
NULL NULL