This is a TSQL port of a mysql script from "bramsi"
http://forge.mysql.com/tools/tool.php?id=222
It uses the very accurate Vincenty Inverse formula. I have also ported the Vincenty Direct formula, which calculates the coordinates for a given bearing and distance from a pair of reference coordinates, which I will post here soon..
Enjoy,
Peter De Ceulaer
peter_deceulaer_be