ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291
全部博文(487)
分类: Oracle
2019-11-14 14:27:26
choose two
The ORDERS table has a column ORDER_DATE of date 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 ordet_date > TO_CRAR(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('JUL 10 2018', 'MON DD YYYY')
D) WHERE order_date IN (TO_DATE ('Oct 21 2018', 'MON DD YYYY'), TO_CHAR('Nov 21 2018','MON DD YYYY'))
E) WHERE order_date > TO_DATE(ADD_MONTHS(SYSDATE,6),'MON DD YYYY')
Answer:BC
(解析:日期型转换的时候要注意元素格式。)