Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need query syntax help
Message
 
 
À
29/06/2006 18:11:18
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01130654
Message ID:
01132942
Vues:
15
>Hi Sergey,
>
>Sorry for the delayed reply.. have been quite busy.
>
>I thought this was in fact a correlated subquery. Most of the examples of these have been where the correlated subquery part is in the where clause, not in the select list, but apparently it can be done in the select list as well.
>
>I am trying though to understand the order of execution, i.e. my understanding is that for every row returned by the main query the correlated subquery executes once? Is that correct?

Hi David,

SQL is declarative language. It describes what result you want SQL Server to return. How to get the result is up to SQL Server Query Optimizer. Look at the query excution plan if you want to know how query is actualy excuted.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform