>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