Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ajuda com UPDATE
Message
From
21/01/2003 08:01:06
 
 
To
21/01/2003 04:59:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00743685
Message ID:
00743714
Views:
7
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
Previous
Reply
Map
View

Click here to load this message in the networking platform