Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a trigger / stored procedure
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00947396
Message ID:
00947416
Vues:
17
Hi,
VFP come with Referential Integrity Builder to help us to do what you mentioned. It allows us to define "action" should be taken if INSERT/UPDATE/DELETE happens to the tables such as cascade for delete (delete all child record if parent record is being deleted).

That is a freeware tool TaxRI in download section which generate better stored procedure code for this purpose.

Note, before this, make sure you have define the relationship between tables in your database.

HTH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform