Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting from distance for geography coordinates
Message
De
23/11/2011 02:15:08
 
 
À
22/11/2011 13:38:32
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01529492
Message ID:
01529642
Vues:
24
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform