SQL Server函数:求距离函数 https://www.cnblogs.com/smartsmile/p/6234120.html 如果再写个SUM函数,调用GetDistance()函数循环遍历求距离。。