在db2数据库插入数据时,由于三张表之间有外键约束,去做了取消外键的操作:set integrity for table_name off
set integrity for table_name foreign key immediate unchecked
导致三张表中的其中两张报错DB2 SQL0668N SQLSTATE=57016 reason code “1”
查询表状态为:db2 load query table table_name
set interity pending
解决办法:set integrity for table_name immediate checked
最后
以上就是柔弱学姐最近收集整理的关于DB2 SQL0668N SQLSTATE=57016 reason code "1"的全部内容,更多相关DB2内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复