Question:Which of the following shows the correct use of the Trunc command on a date? 

A TRUNC=To_Date('09-Jan-02,DD-MON-YY,'YEAR',"Date" from Dual; 

B Select TRUNC(To_Date('09-Jan-02,DD-MON-YY,YEAR')) "DATE" from Dual; 

C Date =TRUNC(To_DATE('09-Jan-02','DD-MON-YY'),'YEAR'),'YEAR)"DATE: from DUAL; 

D SELECT TRUNC(TO_DATE('12-Feb-99','DD-MON-YY'), 'YEAR') "Date " FROM DUAL; 

+ Answer
+ Report
Total Preview: 5011

Copyright © 2024. Powered by Intellect Software Ltd