Oracle
1Z0-061 · Question #190
1Z0-061 Question #190: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-061 to reveal the answer and full explanation for question #190. The question stem and answer options stay visible for context.
Question
You need to calculate the number of days from 1st January 2007 till date . Dates are stored in the default format of dd-mon-rr. Which two SQL statements would give the required output? (Choose two.)
Options
- ASELECT SYSDATE - '01-JAN-2007' FROM DUAL:
- BSELECT SYSDATE - TOJDATE(X)1/JANUARY/2007") FROM DUAL:
- CSELECT SYSDATE - TOJDATE('01-JANUARY-2007') FROM DUAL:
- DSELECT TO_CHAR(SYSDATE. 'DD-MON-YYYY') - '01-JAN-2007' FROM DUAL:
- ESELECT TO_DATE(SYSDATE. *DD/MONTH/YYYY') - '01/JANUARY/2007' FROM DUAL:
Unlock 1Z0-061 to see the answer
You've previewed enough free 1Z0-061 questions. Unlock 1Z0-061 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.