Which statement executes successfully?
Which statement executes successfully?
The statement 'SELECT TO_CHAR(INTERVAL ‘800’ SECOND, ‘HH24:MM’) FROM DUAL;' executes successfully. The INTERVAL '800' SECOND expression can be converted into a character string using the TO_CHAR function, which supports display formats such as 'HH24:MM'. This correctly converts the interval to a readable string representing hours and minutes. None of the other options perform valid operations with the INTERVAL data type.
B is correct
B tested
Can please explain?
INTERVAL '800' SECOND, 'HH24:MM' will result in +00 00:13:20.000000 using the 'HH24:MM' format. This string can only be converted to a character string, not into any of the other options.
B is correct
B is correct
Only one LONG column is allowed per table. refer: https://docs.oracle.com/cd/A58617_01/server.804/a58241/ch5.htm#418225
pls ignore the below information. it is for qsn:209