【2019年8月】OCP 071认证考试最新版本的考试原题-第19题

2019-10-30 17:21:07 浏览数 (3)

Choose two

The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOTCE_DATE column of data type DATE

NLS_DATE_FORMAT is set to DD-MON-RR.

Which two are true about data type conversions involving these columns in query expressions?

A) invoice_date > '01-02-2019' : uses implicit conversion

B) qty_sold =' 05549821 ' : requires explicit conversion

C) CONCAT(qty_sold, invoice_date) : reuires explicit conversion

D) qty_sold BETWEEN '101' AND '110' : uses implicit convesion

E) invoice_date = '15-march-2019' : uses implicit conversion

Answer:DE

(解析:D 答案中字符型是可以转换成数字型;E 的日期格式跟要求不一样,但是格式是兼容的,所以需要并且能够隐式转换。)

0 人点赞