aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

QSM-01052: referential integrity constraint on table, string, not VALID in ENFORCED integrity mode

QSM-01052: referential integrity constraint on table, string, not VALID in ENFORCED integrity mode
Cause: A join present in the materialized view requires validated primary/foreign key constraints in ENFORCED query rewrite integrity mode.
Action: Validate the constraint or change the integrity mode with ALTER SESSION SET QUERY_REWRITE_INTEGRITY = STALE_TOLERATED command.

请先 登录 后评论

1 个回答

小智
QSM-01052:参考完整性约束在表,字符串,而不是VALID在强制完整性模式,
.原因:呈现在实体化视图中的连接在ENFORCED查询重写完整性模式中需要经过验证的主键/外键约束。,
.操作:使用ALTER SESSION SET QUERY_REWRITE_INTEGRITY = STALE_TOLERATED命令验证约束或更改完整性模式。,
.
请先 登录 后评论