ST_XMax() method

Retrieves the maximum X coordinate value of a geometry.

Syntax

geometry-expression.ST_XMax()

Returns

DOUBLE Returns the maximum X coordinate value of the geometry-expression.

Examples

Standards

SQL/MM (ISO/IEC 13249-3: 2006) Vendor extension