Return Value - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ Geospatial Data Types

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1181-162K
IF you pass in … THEN ST_Z returns …
no argument a FLOAT value for the z coordinate.
the zcoord argument an ST_Geometry value where the z coordinate is set to zcoord.
NULL NULL

If the input geometry is a non-point, Teradata Database returns an error.

If the input geometry is a 2D point, and no zcoord argument is passed, Teradata Database returns an error.