Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub-select performance
Message
 
 
To
02/03/2005 16:09:44
John Deupree
Long Term Care Authority
Tulsa, Oklahoma, United States
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00991746
Message ID:
00992151
Views:
22
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform