Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing JOIN
Message
 
 
À
30/09/2003 11:08:36
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00833349
Message ID:
00833620
Vues:
28
The first time I ran the query it took 26 seconds returning a number representing over 2 millions records. Subsequent runs with exact same query runs in 2 seconds I guess due to caching(?).

>Hi,
>
>before, optimize this:
>
>SELECT COUNT(Deceased.*) FROM Deceased JOIN ZipCross ON Deceased.Zip=Zipcross.Zip
>JOIN AreaOrder C ON B.AreaID=C.AreaID AND C.CampaignID=300
>
>
>How much time is necessary for this query?
>
>Fabio
It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform