Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql update all records using data from a table
Message
 
 
À
05/09/1999 03:11:40
Stephen E Johnson
Johnson & Associates Business Software
Corvallis, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00261594
Message ID:
00261610
Vues:
23
>Is it possible to update all records of a table using an update something like:
>
>update table1 set field1 = select field1 from table2 where field2 = table1.field2
>
>The above does not work. Am I hoping for too much?

I do not think subqueries are supported in VFP SQL Updates and Deletes. They are only supported in Selects.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform