Oracle OCP认证-Oracle OCM认证

您当前的位置:优技教育 > ocp考试 >

ocp 11g考题大全:1Z0-051-087题

来源:优技教育

ocp 11g考题大全:1Z0-051-087题,完整题库请点击这里联系老师咨询了解

87. You want to display the date for the first Mon day of the next month and issue the following

command:

SQL>SELECT TO_CHAR(NEXT_DAY(LAST_DAY(SYSDATE),'MON'),

‘dd "is the first Monday for" fmmonth rrrr')

FROM DUAL;

What is the outcome?

A. It executes successfully and returns the correct result.

B. It executes successfully but does not return the correct result.

C. It generates an error because TO_CHAR should be replaced with TO_DATE.

D. It generates an error because rrrr should be replaced by rr in the format string.

E. It generates an error because fm and double quotation marks should not be used in the format string.

Answer: A

试题解析:

题意要输出下个月第一个星期一。

精华阅读