Oracle
1Z0-071 · Question #45
1Z0-071 Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-071 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Question
You want to display the date for the first Monday 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?
Options
- AIt executes successfully and returns the correct result.
- BIt executes successfully but does not return the correct result.
- CIt generates an error because TO_CHAR should be replaced with TO_DATE.
- DIt generates an error because rrrr should be replaced by rr in the format string.
- EIt generates an error because fm and double quotation marks should not be used in the format
Unlock 1Z0-071 to see the answer
You've previewed enough free 1Z0-071 questions. Unlock 1Z0-071 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.