﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Discuss content posted by Scott Coleman / Article Discussions by Author  / Calculate distance between two points / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 07:14:49 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Calculate distance between two points</title><link>http://www.sqlservercentral.com/Forums/Topic402330-609-1.aspx</link><description>Hi ScottA nice approach - although I do this in my application server when querying with LINQ rather than on the database. Of course sometimes that is not practical (Like when searching large volumes of data), so having this as a backup is very usefulWhat I did do for my function (and recommend that you do for yours :-) ) is to include in the name what measurement unit it is in - the difference between functions that return values in Miles and those that return values in Kilometres comes up all over the show in bug reports. So I would call it "fn_latlondistance_mi"Regards,Joon</description><pubDate>Wed, 22 Jul 2009 02:07:41 GMT</pubDate><dc:creator>jdurandt</dc:creator></item><item><title>Calculate distance between two points</title><link>http://www.sqlservercentral.com/Forums/Topic402330-609-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Miscellaneous/31679/"&gt;Calculate distance between two points&lt;/A&gt;[/B]</description><pubDate>Mon, 24 Sep 2007 20:30:56 GMT</pubDate><dc:creator>Scott Coleman</dc:creator></item></channel></rss>