Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correlated subquery
Message
De
18/03/2021 12:58:19
 
 
À
18/03/2021 09:45:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01679045
Message ID:
01679075
Vues:
54
>Question (for anyone): when looking at a query, how to you know that the query will be correlated - i.e. that for each row of the outer query the inner query is run? Is it triggered by the inner subquery referencing a table in the outer query specifically for a field value in the outer query? Or does VFP just "figure this out"? Would help to know what is going on and whether properly coded - apart from trying to check the resulting data sets.
>

Correlated means that the subquery refers to one or more fields from tables that are in the main query, but not the subquery. However, that tells you nothing about how the engine will actually implement the query.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform