Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referential integrity
Message
 
 
À
04/04/2006 11:34:42
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 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01110216
Message ID:
01110301
Vues:
11
>Ok, I know that, all the tables that I have in my database are created with CREATE TABLE.. but the problem is: how to edit referential integrity..
>Like in sql: using alter table with CASCADE clause for insert or delete.
>How could I avoid referential integrity?
>Thanks
>
>Florin Groza

I wrote my own referential integrity builder using Doug Henning SFRiBuilder and New_RI function. It gives me much more control and simplicity of maintenance, but on the other hand, it is slower than VFP native code.

You may avoid RI, but if you do that, you need to ensure that your tables could not be changed outside the application and you should implement RI rules yourself in your code. I'm not sure if it's a good idea because you may overlook something and later have problems with data integrity.
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