Query points using SQL Server 2008 geography type

Posted by Chris Stewart on Stack Overflow See other posts from Stack Overflow or by Chris Stewart
Published on 2010-05-07T15:05:58Z Indexed on 2010/05/07 15:08 UTC
Read the original article Hit count: 407

I have a table with the geography type and I want to run a query to find all rows within 25 miles of a specific lat/long. What would the query look like to accomplish this?

© Stack Overflow or respective owner

Related posts about sql-server-2008

Related posts about geography