Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any quick way to update the records
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Any quick way to update the records
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01258106
Message ID:
01258106
Vues:
52
*table "newt" have lcode, sec and res10,res11....res24
*and table staff have lcode,sec and fail.
*I want to fail with res10,res11....res24 value
lcode have ="c1....ct" and also lcode contain different sec

I try but it is not easy.
UPDATE stafft ;
SET stafft.fail = newt.res13 ,;
SET stafft.fail = newt.res17 ;
FROM newt;
WHERE stafft.lcode = "C5" AND stafft.sec="C"AND stafft.subcode="c19"

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform