第一种:Shape.STAsText()
参考:sqlserver中通过两点经纬度计算距离(https://blog.csdn.net/qq_36179257/article/details/118752728)
第二种:Shape.STX