Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query #2 - MySQL and MS-SQL
Message
From
07/03/2008 13:21:51
 
 
To
07/03/2008 13:07:56
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01296743
Message ID:
01299819
Views:
19
Would not matter as far as I can see. The whole contents of that table has to be read.

If you look at the execution plan when a CTE is used, you'll see that CTEs are "in-lined" into the query - they are not materialized and stored. While not a hard and fast rule, CTEs are likely to be a tad more efficient (though the user is not likely to notice any difference)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform