Scott Coleman

Calculate distance between two points

The calculation of distance between two points using standard spherical geometry can be inaccurate for short distances (ten miles or less) because the sine function of very small angles approaches zero. The haversine approach (http://en.wikipedia.org/wiki/Haversine_formula) turns this around, so it is very accurate at small distances but has larger errors (about ten miles) for points […]

4 (1)

2006-05-18 (first published: )

591 reads

Blogs

Daily Coping 5 June 2020

By

I’ve started to add a daily coping tip to the SQLServerCentral newsletter and to...

Use Chocolatey to Install Multiple SQL Server 2019 Instances for Testing

By

I’m working on a project where it’s useful to automate environment setup and teardown...

SQL Server Authentication

By

[MSSQLFUN & Decode ITeS becomes a family of 1500 individuals across the globe. Please...

Read the latest Blogs

Forums

Maximum number of users that can simultaneously log in SQL 2016

By SQL_Hunt

Hello, By default, SQL Server allows a maximum of 32767 concurrent connections which is...

Attunity Oracle Connector Not Showing Up in SSIS Toolbox

By brad.mccollum

I've just about exhausted every effort I can research and absolutely cannot get the...

Covert a string to simple sql datetime format

By Jeff Sims-413169

Can anyone help me out here.  I need to convert strings in a file...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers