Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UPDATE FROM syntax
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01134219
Message ID:
01134231
Vues:
23
This message has been marked as the solution to the initial question of the thread.
update Employee_Queue_Schedules set iActive_Flag = 0
  FROM Employee_Queue_Schedules 
    JOIN curResolvedAccts ON ...
>
>I'm trying to understand UPDATE FROM syntax and see, if I can apply it.
>
>Here is what I have
>
>select cEmployee_Queue_Schedules_pk ;
>		from Trans inner join Trans_Employees_Queues TEQ ;
>		on Trans.cTrans_pk = TEQ.cTrans_fk ;
>		inner join Employee_Queue_Schedules EQS ;
>		on TEQ.cTrans_Employees_Queues_pk = EQS.cTrans_Employees_Queues_fk ;
>		where not Trans.cResolution_Codes_fk is null ;
>		and EQS.iActive_Flag = 1 into cursor curResolvedAccts
>		
>		update Employee_Queue_Schedules set iActive_Flag = 0 ???
>
>
>I want to update all records in Employee_Queue_Schedules that have matching records in curResolvedAccts.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform