STAsText
STAsText is a method associated with SQL Server’s spatial data types, specifically geometry and geography. It returns the Well-Known Text (WKT) representation of a spatial value as a string, making the shape’s structure readable in text form.
STAsText is invoked as a method on a spatial value, with no parameters. For example: geometryColumn.STAsText()
The method returns the WKT description of the geometry or geography object. For empty geometries, the text
STAsText is commonly used for exporting, displaying, or interoperating with systems that consume WKT. It is
The SRID is a property of the spatial value but is not embedded in the WKT returned