Q141 The orders table has a column ORDER_DATE of data type date.
The default display format for a date Is DD-MON-RR.
Which two where conditions demonstrate the correct usage of conversion functions?
- (A). WHERE order_date > TO_CHAR(ADD_MONTHS(SYSDATE, 6), ‘MON DD YYYY’)
- (B). WHERE TO_CHAR(order_date, ‘MON DD YYYY’) = ‘JAN 20 2019’
- (C). WHERE order_date > TO_DATE<ADD_MONTHS(SYSDATE, c) , ‘MON DD YYYY’)
- (D). WHERE order_date IN (TO_DATE (‘Oct 21 2018’, ‘Mon DD YYYY’), TC_CHAR(‘Nov 21 2018’, ‘Mon DD YYYY’))
- (E). WHERE order date > TO_DATE(‘JUL 10 2018′, ‘MON DD YYYY’)
Answer: B,E