Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare Tables
Message
 
 
À
05/02/2008 12:17:57
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
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 SP1
Divers
Thread ID:
01289634
Message ID:
01289641
Vues:
20
>Anything simple to compare tables and show the differences? Even it was SQL that created a cursor of the records that do not match would be fine.
select TableA.* from TableA LEFT JOIN TableB ON ... WHERE TableB.PK Is NULL ;
union all ;
select TableB.* from TableB LEFT JOIN TableA ON ... where TableA.PK IS NULL
Or the same with full outer join and both PKs NULL.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform