We added Cascade Deletes to your dating anywhere between Products and Purchase Details

We added Cascade Deletes to your dating anywhere between Products and Purchase Details

Cascade Deletes

I have an intense dislike of cascading deletes. Especially when a user sees the Access message they don’t pay any attention to the extra wording. And it can be way, way too easy to start deleting records from too many tables. For example you go to delete a customer and, whoops, cascade delete just removed all the customers invoice headers and invoice deletes. Clearly that’s an extreme example but is quite possible if someone doesn’t clearly understand what could go wrong.

Instead of streaming deletes if they went along to remove a grandfather record rather than deleting the kid listing they had score an effective “Listing can’t be erased or changed due to the fact dining table ‘Products’ has relevant information.” Having cascading deletes you have made next message. “Dating one to identify flowing deletes are about to cause 1 checklist(s) inside dining table and in related dining tables getting erased.” And you can exactly what representative is about to comprehend the implications from the message. “You to number to help you erase? Zero fuss. ” This is certainly a lousy content

Already when you look at the Northwind for those who remove an archive on Category desk it will not allow you to because of relational stability for the Acquisition Info table. And today removing you to definitely list in the Group dining table erased 302 facts regarding Buy Facts desk. Continue reading We added Cascade Deletes to your dating anywhere between Products and Purchase Details