Foreign key constraint may cause cycles or multiple cascade paths?

后端 未结 9 1286
感情败类
感情败类 2020-11-21 23:07

I have a problem when I try to add constraints to my tables. I get the error:

Introducing FOREIGN KEY constraint \'FK74988DB24B3C886\' on table \'Empl

9条回答
  •  醉话见心
    2020-11-21 23:48

    There is an article available in which explains how to perform multiple deletion paths using triggers. Maybe this is useful for complex scenarios.

    http://www.mssqltips.com/sqlservertip/2733/solving-the-sql-server-multiple-cascade-path-issue-with-a-trigger/

提交回复
热议问题