Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL update field from another table
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL update field from another table
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01162808
Message ID:
01162808
Vues:
56
I have a cust.dbf and an orders.dbf. The key of cust.dbf is custkey. The key of orders.dbf is custkey, orderseq. There is region field that is on both tables (I know, bad design), that has gotten out of sync between the customer and order tables. I want to find and replace the orders.region with the cust.region where cust.custkey = orders.custkey and cust.region != orders.region.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform