Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete in code or in trigger?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01545281
Message ID:
01545282
Views:
58
Likes (1)
>Hi,
>
>What is a better practice when deleting a record in a table (that has FKs), in code (VFP code) or with a trigger in SQL Server?
>
>TIA.

In SSMS you can set relations to CASCADE deletes on FK records. I prefer that although I'm sure there are circumstances where that would be a bad thing.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform