ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291
全部博文(487)
分类: Oracle
2019-10-15 09:33:24
choose two
The CUSTOMERS table has a CUST_CREDT_LIMIT column of date type number.
Which two queries execute successtully?
A) SELECT TO_CHAR(NVL(cust_credit_limit * .15,'Not Available')) FROM customers;
B) SELECT NVL2(cust_credit_limit * .15,'Not AvailabIe') FROM customers;
C) SELECT NVL(cust_credit_limit * .15, 'Not Available') FROM customers;
D) SLECT NVL(TO_CHAR(cust_credit_limit * .15),'Not available') from customers;
E) SELECT NVL2(cust_credit_limit,TO_CHAR(cust_credit_limit * .15),'NOT Available') FROM customers;
Answer:DE
(解析:注意 nvl 返回的数据类型要与原来列的数据类型一致。此题库以前出现过。)