ST_IsValid() method

Determines whether the geometry is a valid spatial object.

Syntax

geometry-expression.ST_IsValid()

Returns

BIT Returns 1 if the geometry value is valid, otherwise 0.

Examples

Standards

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