OCP-1Z0-052-V8.02-179题
2013-10-30 14:54
417 查看
179. The TRANS_SUMMARY table contains product-wise transaction details that get updated with every
transaction in the system. Each row has cumulative transaction details of a single product and every
product is identified by a product code, which is the primary key.
As part of the archival process, the company wants to transfer the rows in the TRANS_SUMMARY table
to the TRANS_SUMMARY_DUP table at the end of every quarter of the year. Along with existing products,
the company deals with many new products during every quarter.
Which method is best suited for this quarterly data transfer?
A.using the MERGE command
B.using the SQL*Loader utility
C.using the correlated UPDATE command
D.using the INSERT command to perform bulk operation
Answer: A
答案解析:
参考:/article/1629000.html
TRANS_SUMMARY表包含 product-wise事务的细节,以至于每次事务操作时都会在系统中更新。每个单品的每一行都有累积的事务细节,每一个产品代码标志着每一个产品,产品代码为主键。
作为归档进程的一部分,公司希望在今年每个季度结束时把在TRANS_SUMMARY的这些行转移到TRANS_SUMMARY_DUP表中,公司在每季度都会处理很多新产品,连同已经存在产品一起处理。
使用MERGE命令可在一个命令中执行UPDATE 和INSERT 。可将一个源中的数据合并到另一个源,因而可选择插入新行和更新特定列(如果行已经存在)。
这道题的意思是将TRANS_SUMMARY里的数据合并到TRANS_SUMMARY_DUP表里,如果TRANS_SUMMARY_DUP有存在的产品,则保留,如果是新产品,则插入。
transaction in the system. Each row has cumulative transaction details of a single product and every
product is identified by a product code, which is the primary key.
As part of the archival process, the company wants to transfer the rows in the TRANS_SUMMARY table
to the TRANS_SUMMARY_DUP table at the end of every quarter of the year. Along with existing products,
the company deals with many new products during every quarter.
Which method is best suited for this quarterly data transfer?
A.using the MERGE command
B.using the SQL*Loader utility
C.using the correlated UPDATE command
D.using the INSERT command to perform bulk operation
Answer: A
答案解析:
参考:/article/1629000.html
TRANS_SUMMARY表包含 product-wise事务的细节,以至于每次事务操作时都会在系统中更新。每个单品的每一行都有累积的事务细节,每一个产品代码标志着每一个产品,产品代码为主键。
作为归档进程的一部分,公司希望在今年每个季度结束时把在TRANS_SUMMARY的这些行转移到TRANS_SUMMARY_DUP表中,公司在每季度都会处理很多新产品,连同已经存在产品一起处理。
使用MERGE命令可在一个命令中执行UPDATE 和INSERT 。可将一个源中的数据合并到另一个源,因而可选择插入新行和更新特定列(如果行已经存在)。
这道题的意思是将TRANS_SUMMARY里的数据合并到TRANS_SUMMARY_DUP表里,如果TRANS_SUMMARY_DUP有存在的产品,则保留,如果是新产品,则插入。
相关文章推荐
- 快速排序【模板】
- asp.net mvc Partial OutputCache 在SpaceBuilder中的应用实践
- DevExpress第三方控件使用实例之ASPxPopupControl弹出子窗体
- “/”和“\”
- C语言交换a和b的值
- cocos2d-x总结(五)CCSprite精灵的加载与常用操作
- thinkphp在nginx环境下URL模式为1时配置文件
- jbpm4.4整合spring2.5
- const char*, char const*, char*const的区别
- 互联网广告的RTB革命
- socket接收数据不全解决方案
- Google Chrome开发者工具-移动仿真:设备取向和CSS媒体类型
- sharepoint无法到搜索人员
- C++ STL中迭代器失效的问题
- Selenium+TestNG+Jenkins 框架图形化UML表示
- Android中的传感器
- 输入一个整数,使用递归方法实现反向输出
- VC打开制定文件夹
- 为什么我的VS2008不报错
- android4.0.3去掉底部状态栏statusbar,全屏显示示例代码