Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of atn function
Message
 
 
À
13/04/2010 03:17:51
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01459871
Message ID:
01459905
Vues:
57
>What is the equivalent of the atn function as shown here in this Access example:
>
>
>UPDATE [TABLENAME] SET XAxis = (cos(((4*((4*atn(1/5))-
>  (atn(1/239))))/180)*[TABLENAME].Latitude)*cos(((4*((4*atn(1/5))-
>  (atn(1/239))))/180)*[TABLENAME].Longitude));
>
Take also a look here SQL Server Zipcode Latitude/Longitude proximity distance search

and also http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sql-server-2008-proximity-search-with-th (using new geography types in SQL Server 2008).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform