I have found a bunch of answers for this question using mysql , but I wasn\'t able to convert anything into a query ms sql 2008 can use. I have a longitude and latitude col
DECLARE @CurrentLocation geography;
SET @CurrentLocation = geography::Point(12.822222, 80.222222, 4326)
SELECT * , Round (GeoLocation.STDistance(@CurrentLocation ),0) AS Distance FROM [Landmark]
WHERE GeoLocation.STDistance(@CurrentLocation )<= 2000 -- 2 Km
Wonderful Tutorial
http://www.sql-server-helper.com/sql-server-2008/convert-latitude-longitude-to-geography-point.aspx