Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub-select performance
Message
 
 
À
02/03/2005 16:09:44
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00991746
Message ID:
00992151
Vues:
19
>Fabio,
>Thanks for the reply. It just seem counter intuitive that the optimizer doesn't process the inner query first. Anyway I worked around it with a 2 step query using a temp table.

John,

SQL Server query optimizer doesn't take in account UDF overhead. That's why it combines both queries into one.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform