Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Altering Base Tables, breaking Views and Stonefield
Message
From
01/11/2001 16:35:15
 
 
To
31/10/2001 11:19:35
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00575670
Message ID:
00576416
Views:
20
Hi Dave.

>In VFP 7 ....
>
> When I build a view 'x' based on table 'y' and then modify the structure of table 'y' does view 'x' break?

This hasn't changed in VFP 7, and I doubt it ever will. It's just a artifact of how views are stored in the DBC.

> With VFP 5,6 I found using the referential integrity builder slowly down massive APPEND operations on table when importing new data.

That makes sense, since for every record inserted, a trigger fires, VFP has to find the code in the stored procedures, and execute that code. You might want to do the following when you have a massive APPEND to do:

- Use AFIELDS() to get the current triggers for a given table.

- Use DELETE TRIGGER to remove the triggers without touching the code called by those triggers.

- Perform the APPEND.

- Use CREATE TRIGGER to put the trigger expressions back.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform