ST_IsRing() method

Tests if the ST_Curve value is a ring. A curve is a ring if it is closed and simple (no self intersections).

Syntax

curve-expression.ST_IsRing()

Returns

BIT Returns 1 if the curve is a ring (and non empty). Otherwise, returns 0.

Examples

Standards

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