更新外键列问题 [英] Update foreign key column issue

查看:60
本文介绍了更新外键列问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在更新外键列值。但我得到的错误 -   UPDATE语句与FOREIGN KEY约束"FK_111"冲突。冲突发生在数据库"dbo",表格"dbo.A",列"Id"。

I am updating the foreign key column values . But i am getting below error- The UPDATE statement conflicted with the FOREIGN KEY constraint "FK_111". The conflict occurred in database "dbo", table "dbo.A", column 'Id'.

请建议如何更新相同的内容。 

Please suggest how to update the same. 

谢谢

推荐答案

为什么要更新该表中的键?
Why do you want to update the key in in that table?


这篇关于更新外键列问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆