Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPDATE not working
Message
 
 
À
27/08/2008 16:24:35
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01342335
Message ID:
01342354
Vues:
19
You're updating Covr table, so it should be first here in FROM clause and then you join with Patient, because you're updating Covr with patient's data.


UPDATE TableToUpdate FROM TableToUpdate INNER JOIN TableUsedForUpdate ON ...

The only thing I haven't exactly figured in this syntax as how to apply aliases for the tables here.

>Ok. Why is the FROM referencing the covr table? Logically it seems like it would be the patient table as that is where the update is coming from. Just trying to understand the logic of it.
>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform