SQL-开发错误汇总

目录

1.Cannot add or update a child row: a foreign key constraint fails


1.Cannot add or update a child row: a foreign key constraint fails

      新增,更新一个表的记录的时候,需要判断数据中的外键是否在被关联的表中存在。

发布了131 篇原创文章 · 获赞 39 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/qq_35507234/article/details/101548213