Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple SQL?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01287483
Message ID:
01287611
Vues:
9
>>Try
>>
>>SELECT ctrl, item FROM table1 WHERE cust_name='JONES' ;
>>UNION ALL
>>SELECT ctrl, item FROM table2 WHERE cust_name='JONES' ;
>>INTO CURSOR crsResult
>>
>
>Yes thanks, this worked. but in the examples on the net, it doesn't explain this method(that I could find).

As you can see, a query with UNION allows to combine SELECTs from 2 or more tables into one resultset.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform