ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-85

OCP 1Z0-051-85

原创 Oracle 作者:LuiseDalian 时间:2014-05-17 07:26:21 0 删除 编辑
(85)View the Exhibit and examine the structure and data in the INVOICE table.

Which statements are true regarding data type conversion in expressions used in queries? (Choose all that apply.)


答案:(D、E)

解析:

A(X),隐式转换可以正常执行

scott@TESTDB11>select empno, ename, sal from emp where sal = '0800';

B(X),不符合默认的日期格式,隐式类型转换会失败。

C(X),可以进行隐式转换

scott@TESTDB11>select concat(deptno, hiredate) from emp;

CONCAT(DEPTNO,HIREDATE)

----------------------------------------------------------

2017-DEC-80

3020-FEB-81

3022-FEB-81

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/17013648/viewspace-1163104/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OCP 1Z0-051-84
下一篇: OCP 1Z0-051-81
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6042398