免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3536 | 回复: 1

LOAD什么时候检查一致性 [复制链接]

论坛徽章:
0
发表于 2006-09-17 15:26 |显示全部楼层
下面是一个关于LOAD检查一致性的一个问题。
Question:
How does the DB2 enforce table check constraints for data added to table with the LOAD utility?
A. With the BUILD phase of LOAD
B. With the SET INTEGRITY statement
C. With the DELETE phase of the LOAD
D. With the UPDATE CONSTRAINTS statement

Answer is A

我觉得A不对,因为BUILD阶段只是maintain index,应该是LOAD阶段检查一致性。大家有何看法?

论坛徽章:
0
发表于 2007-05-24 10:22 |显示全部楼层
Answer is B
The load utility does not enforce referential integrity, perform constraints checking,  that are dependent on the tables being loaded. Tables that include referential or check constraints are placed in check pending state. Issue the SET INTEGRITY statement to take the tables out of check pending state.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP