Geometry.ToWellKnownText
Syntax
Geometry.ToWellKnownText(input as nullable record, optional omitSRID as nullable logical) as nullable text
About
Translates a structured geometric 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.