Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referential Integrity Disabling
Message
 
To
11/04/2002 08:26:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00643457
Message ID:
00643670
Views:
9
>>Thanks for the info.... I was able to figure out what I had to do. Basically I used a DELETE TRIGGER in the code to shut it down while executing the code.
>
>And how would you get the darn thing back in again?

I only needed it turned off while executing this small program (turned off for speed performance increase - I took care of the referential integrity myself during the deletions). I did not need it turned back on during the execution of the program.

After the program finished, any other programs (or just opening the table), would once again see the trigger and execute it if deletions were performed.

You can restore it if necessary by issuing a
CREATE TRIGGER ON the_table_in_question FOR DELETE AS __ri_DELETE_the_table_in_question()


Tommy
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform