ST_ASWKT

functionsupportedCore SQL functions

docs.snowflake.com ↗

Geospatial functions

Given a value of type GEOGRAPHY or GEOMETRY, return the text (VARCHAR) representation of that value in WKT (well-known text) format.

Syntax

Use one of the following

ST_ASWKT( <geography_or_geometry_expression> )

ST_ASTEXT( <geography_or_geometry_expression> )

Parameters

NameRequiredDescription
geography_or_geometry_expressionrequiredThe argument must be an expression of type GEOGRAPHY or GEOMETRY.

Returns

A VARCHAR.

Usage notes

See also