What must you do to ensure that the code executes successfully?

Examine the following code:
(Exhibit)

The above code generates an error on execution.

What must you do to ensure that the code executes successfully?

Examine the following code:

The above code generates an error on execution.

What must you do to ensure that the code executes successfully?

A.
Use the TO_DATE function in line 2.

B.
Use the TO_DATE function in line 7.

C.
Use the TO_NUMBER function in line 6.

D.
Use both the TO_DATE function in line 2 and the TO_NUMBER function in line 6.



Leave a Reply 4

Your email address will not be published. Required fields are marked *


Heena

Heena

Answers should be ‘A’.

piero

piero

A
BUT
at the end we obtain a number of day of difference
it’s not very useful as standalone result
isnt it ?