Simple Zip Code to Zip Code Distance Calculations with SQL Server
Posted:
With a database table comprising of two zip codes, it is easy to calculate a distance between these two points for basic location-aware searching.
Technology experience and practical advice from Mitchel Sellers on SQL.
10 articles (page 1 of 2)
Posted:
With a database table comprising of two zip codes, it is easy to calculate a distance between these two points for basic location-aware searching.
Posted:
SQL Cursors can be helpful, although over-use or misuse by developers is quite common. Understanding the proper methods to use and implement Cursors can improve chances for success.
Posted:
Often times you might need to extract data from SQL into a comma-separated listing of values. This seemingly simple task is not quite as simple as you expect.
Posted:
Sometimes you just don't know what you want to query until it comes time to execute the query, this post explores options for creating dynamic where clauses.
Posted:
Dynamically attached databases seem incredibly helpful at first glance, however, with anything easy there is always a gotcha, and dynamically attached databases are no different.
Posted:
Rank, ROW_NUMBER, and Partition are incredibly powerful SQL statements but often misunderstood. This post outlines example usages to illustrate their effectiveness.
Posted:
To fully test your database-driven applications you need test data, it can be tedious to populate, so let us explore a few quick ways to add data.
Posted:
The IN clause is a helpful SQL query item, however, using it inside of stored procedures can be complicated
Posted:
Revisiting the concept of SQL Table Size Calculation using new SQL features