ST_SRIDFromBaseType(VARCHAR(128)) method

Parses a string defining the type string.

Syntax

ST_Geometry::ST_SRIDFromBaseType(VARCHAR(128) base_type_str)

Parameters

Returns

INT Returns the SRID from a type string. If no SRID is specified by the string, returns NULL. If the type string is not a valid geometry type string, an error is returned.

Examples

Standards

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