Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cascading Referential Integrity
Message
De
17/02/2011 12:02:00
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01499588
Message ID:
01500553
Vues:
45
>>Depends on the trigger and the option (ignore, .restrict..)
>>
>>In case of a PK to FK Child table and Update is set to cascade
>> - it will be as you described
>> something like
>> if( field of pk changed )
>> use childtable (NO INDEX !)
>> scan all for FKField = oldvalue of PK
>> replace FKField with new value of PK
>> endscan
>> close childtable
>> endif
>
>Thank you for your help!

Any time
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform