ST_GeomFromText(LONG VARCHAR, INT) method

Constructs a geometry from a character string representation.

Syntax

ST_Geometry::ST_GeomFromText(LONG VARCHAR character_string, INT srid)

Parameters

Returns

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

Examples

Standards

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