Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting from distance for geography coordinates
Message
From
23/11/2011 02:15:08
 
 
To
22/11/2011 13:38:32
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01529492
Message ID:
01529642
Views:
23
>>I think I pointed that out Re: Getting from distance for geography coordinates Thread #1529492 Message #1529530
>
>Yes, I have it much simpler now.

In all honesty - you may need that

When I was taking my walk yesterday I figured out the use of the first clause

If you do not have that many records, it does not matter, but with a lot of records there will be a difference in speed

The first clause restricts the set to those that are in a square around you (latitude between .. and ... and longitude between .. and ...)

The second one calculates the radius of the points in the square
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform