15.10 - ST_X - Teradata Database

Teradata Database SQL Geospatial Types

prodname
Teradata Database
vrm_release
15.10
category
Programming Reference
featnum
B035-1181-151K

Get and set the X coordinate of an ST_Point value.

 

Argument …

Specifies …

xcoord

a FLOAT value for the new X coordinate of the ST_Point value.

 

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

ST_Point

   SELECT skey1
   FROM sample_points1
   WHERE (point1.ST_X() < 1E-2);