Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subquery with Update-SQL
Message
De
28/10/1999 05:31:36
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Subquery with Update-SQL
Divers
Thread ID:
00282860
Message ID:
00282860
Vues:
52
The documentation says that subquerys are allowed with update-sql but I have never got one working. I want to assign a value to a field as result of a subquery. I have tried something like this. The result of the subquery is unique and has the same type like the target field.

update fauk_work set attribute25=(select attr from fa_dept_conv where code=fauk_work.attribute22)

Any ideas?

Thanks in advance
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform