ST_GeometryTypeFromBaseType(VARCHAR(128)) method

Parses a string defining the type string.

Syntax

ST_Geometry::ST_GeometryTypeFromBaseType(VARCHAR(128) base_type_str)

Parameters

Returns

VARCHAR_0123128321_ Returns the geometry type from a base type string (which may include a SRID definition). 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