ST_NumPoints() method

Returns the number of points defining the linestring.

Syntax

linestring-expression.ST_NumPoints()

Returns

INT Returns NULL if the linestring value is empty, otherwise the number of points in the value.

Examples

Standards

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