Questions
Answer the following questions to test your knowledge of this chapter:
- What is the output of the following statement?
select ADD_MONTHS(TO_DATE('31.1.2023', 'DD.MM.YYYY'), 1) from dual;
- February 28, 2023
- February 29, 2023
- February 31, 2023
- An exception is raised
- Select the right statement:
- The
MONTHS_BETWEEN
function can provide a negative value if the second parameter value is greater than the first - The
MONTHS_BETWEEN
function provides only an integer value, not the numerical representation, generally - If the output value of the
MONTHS_BETWEEN
function is negative, an exception is raised - The internal implementation of the
MONTHS_BETWEEN
function takes both values and swaps them...
- The