Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server select syntax
Message
 
 
À
28/06/2005 15:16:43
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01027150
Message ID:
01027193
Vues:
19
>yes that worked but now I don't have any indication of which records came from which table ?
SELECT "LL" AS TableFrom,
    ll_docket AS docket, 
    ll_appearancedate AS appearancedate, 
    ll_judgecode AS judgecode
FROM table1
UNION ALL
SELECT "SC" AS TableFrom,
    sc_docket, sc_appearancedate, sc_judgecode 
FROM table2
UNION ALL
...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform