Skip to main content
Returns the longitude (X coordinate) of a point Geography. Returns NULL for non-point geographies and empty points.

Signatures

Parameters

Geography
required
The input point Geography.

Return type

The longitude, or NULL.

Example