SQL Server'从'删除'语句冲突

时间:2014-04-28 11:08:56

标签: sql-server

当我尝试从公司删除时,错误是:

The DELETE statement conflicted with the REFERENCE constraint "FK_CompanyUser_Company"

当我尝试从CompanyUser中删除时,错误为:

The DELETE statement conflicted with the REFERENCE constraint "FK_Company_CompanyUser"

在不禁用外键约束的情况下完成的方法是什么,因为这是实时网站并且发生了大量交易?

0 个答案:

没有答案