首页 > 其他 > 详细

【OCP-12c】CUUG 071题库考试原题及答案解析(14)

时间:2019-02-18 16:19:01      阅读:198      评论:0      收藏:0      [点我收藏+]
14、(6-13) choose the best answer:
View the Exhibit and examine the structure of the ORDERS table.
Which UPDATE statement is valid?

A) UPDATE orders
SET order_date = ‘12-mar-2007‘
AND order_total = TO_NUMBER(NULL)
WHERE order_id = 2455;

B) UPDATE orders
SET order_date = ‘12-mar-2007‘,
order_total = NULL
WHERE order_id = 2455;

C) UPDATE orders
SET order_date = TO DATE(‘12-mar-2007‘,‘dd-mon-yyyy‘),
SET order_total = TO NUMBER(NULL)
WHERE order_id = 2455;

D) UPDATE orders
SET order_date = ‘12-mar-2007‘,
order_total IS NULL
WHERE order_id = 2455;

Answer:D
(解析:注意语法)

【OCP-12c】CUUG 071题库考试原题及答案解析(14)

原文:http://blog.51cto.com/13854012/2351313

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!