Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL UPDATE - Usage
Message
De
27/10/2004 10:24:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SQL UPDATE - Usage
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00954866
Message ID:
00954866
Vues:
59
I want to use UPDATE command to update in DLWinniners table from TEMP table. The table structure is like this:
DLWinners:  OrgCode C(5) 
            Code    C(5) 
            more fields...

TEMP        Code    C(5) 
            CodeNew C(5) 
If DlWinners.OrgCode is found in TEMP.Code, I want to replace Dlwinners.code with TEMP.CodeNew. I know that this can be done very easily by establishing a relation between two tables. However, is it possible to do this using a single UPDATE command?

Thanks.
- Ravi Taxali
Visual FoxPro Made Simple An excellent book for beginners as well as experienced programmers
Never Forget Again. Setup Email Reminders.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform