Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00605218
Message ID:
00605863
Vues:
13
>Bob,
>
>Actually checking the VFP 7.0 help file, it also does not support SELECT in the WHERE clause of the UPDATE command.

The VFP7 help isn't lying when it says that "subqueries are supported in UPDATE – SQL" but it doesn't specify that they are only supported in the WHERE clause. The following is legitimate command (VFP 6 and 7)
UPDATE orders Set Status = "UPDATED" ;
	WHERE cust_id in ( SELECT cust_id FROM customer WHERE region = "SP" )
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform