Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC Triggers and RI
Message
From
04/01/2013 13:25:23
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01561335
Message ID:
01561447
Views:
71
>>In the brief period when I used DBC/DBF I never used the RI or triggers. Didn't trust them. (Steve Sawyer once gave a great presentation on why that distrust was well-founded)
>>
>>Now use them even less :-) but a couple quesitons
>>
>>Are there any circumstances when they do no fire.
>>
>>For example ; Sql insert / delete from a table. Should it fire the RI code to delete children?
>>
>>Browse, mark record as deleted. RI fire?
>>
>>Manual insert / update ?
>>
>>TIA
>
>I believe in all these cases the RI triggers should fire. Did you find a case when it's not so?

I'll have to retest, but I think if one browses a parent, marks a row for delete, the casade delete does not happen in children but I will have to test again.


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform