Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing JOIN
Message
From
30/09/2003 16:45:29
 
 
To
30/09/2003 11:08:36
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00833349
Message ID:
00833620
Views:
27
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform