Browse by Tags

All Tags » TSQL (RSS)

TSQL - Distance in kilometers between 2 points, given the latitude and longitude by joelvarty

It's always good to know the distance between 2 points. Here's the SQL to get you started - notice the @dtor constant - this will get you the return value in kilometers. DECLARE @dtor float,               ...
Filed under: ,
More Posts