本帖最后由 hunter0912 于 2010-09-28 12:22:58 编辑

解决方案 »

  1.   

    将 FOREIGN KEY 约束 'FK_Event_Actor_Relationship.Linkmans_Actor.Linkmans' 引入表 'Event_Actor_Relationship.Linkmans' 可能会导致循环或多重级联路径。请指定 ON DELETE NO ACTION 或 ON UPDATE NO ACTION,或修改其他 FOREIGN KEY 约束。
    无法创建约束。不对,还是有问题
    我要崩溃了
      

  2.   

    哦,发现了,当删actor的时候,FK_Event_Actor_Relationship.Linkmans
    会被删两次,这个时候该如何解决啊,那个外键的属性该如何设置呢
      

  3.   

    http://support.microsoft.com/?scid=kb%3Ben-us%3B321843&x=2&y=7
      

  4.   

    You receive this error message because in SQL Server, a table cannot appear more than one time in a list of all the cascading referential actions that are started by either a DELETE or an UPDATE statement. For example, the tree of cascading referential actions must only have one path to a particular table on the cascading referential actions tree.To work around this problem, do not create a foreign key that will create more than one path to a table in a list of cascading referential actions.You can enforce referential integrity in several ways. Declarative Referential Integrity (DRI) is the most basic way, but it is also the least flexible way. If you need more flexibility, but you still want a high degree of integrity, you can use triggers instead.
      

  5.   

    You receive this error message because in SQL Server, a table cannot appear more than one time in a list of all the cascading referential actions that are started by either a DELETE or an UPDATE statement. For example, the tree of cascading referential actions must only have one path to a particular table on the cascading referential actions tree.To work around this problem, do not create a foreign key that will create more than one path to a table in a list of cascading referential actions.You can enforce referential integrity in several ways. Declarative Referential Integrity (DRI) is the most basic way, but it is also the least flexible way. If you need more flexibility, but you still want a high degree of integrity, you can use triggers instead.
    Back to the top