Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ajuda com UPDATE
Message
De
21/01/2003 08:01:06
 
 
À
21/01/2003 04:59:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00743685
Message ID:
00743714
Vues:
8
Olá Pedro !

No fox 6.0 não é possível fazer isso com update e insert !
no SQL vc consegue fazer isso , como o fox 7.0 tem mais recursos creio que seja possível !

No SQL
UPDATE tabelafinal
   SET campo = tabelatemp.campo
   FROM tabelatemp INNER JOIN tabelafinal
      ON tabelatemp.title_id = tabelafinal.title_id 
ou 

UPDATE tabelafinal
   SET campo = tabelatemp.campo
   FROM tabelatemp where tabelatemp.title_id = tabelafinal.title_id 
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform