ST_GeomFromWKT(LONG VARCHAR, INT) method

Parses a string containing the WKT or EWKT representation of a geometry and create a geometry value of the appropriate type.

Syntax

ST_Geometry::ST_GeomFromWKT(LONG VARCHAR wkt, INT srid)

Parameters

Returns

ST_Geometry Returns a geometry value of the appropriate type based on the source string.

Standards

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