Geography.ToWellKnownText

Syntax

Geography.ToWellKnownText(input as nullable record, optional omitSRID as nullable logical) as nullable text

About

Translates a structured geographic point value into its Well-Known Text (WKT) representation as defined by the Open Geospatial Consortium (OGC), also the serialization format used by many databases including SQL Server.