Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referential integrity
Message
 
 
To
04/04/2006 11:34:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01110216
Message ID:
01110301
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform