Additional SQL Server features and topics not covered by specific categories
How about using ON DELETE SET NULL. The FK will be set to NULL rather than causing a cascading delete. Or you could use triggers to implement such logic.
Refer to this article for more details: Fix Error 1785 “Introducing FOREIGN KEY constraint … may cause cycles or multiple cascade paths” in SQL Server.
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".