GEOGRAPHY data type to the Well-Known Text (WKT) format.
Syntax
Parameters
Return Type
ST_ASTEXT returns a value of type TEXT.
Example
The following code example creates aGEOGRAPHY object from the WKT representation of a Point at specified longitude and latitude coordinates and converts it to WKT format:
Rows: 1Execution time: 6.66ms