youngfan007 发表于 2015-6-17 08:55:20

OCP-1Z0-051-题目解析-第4题

  4. Which two statements are true regarding single row functions? (Choose two.)
  A. They a ccept only a single argument.
  B. They can be nested only to two levels.
  C. Arguments can only be column values or constants.
  D. They a lways return a single result row for every row of a queried table.
  E. They can return a data typevalue different from the one that is referenced.
  Answer: DE
  题目解析:
  A:单行函数只能接受一个参数 (错误,例如to_date('20120304', 'yy-mm-dd') 就有两个参数)
  B:单行函数只能被嵌套两级 (错误,可以被多级嵌套)
  C:单行函数的参数只能是字段或者常量 (错误,参数还可以是变量或者表达式)
  D: 每一行只能返回一个结果 (正确,这是单行函数的特征)
  E:   单行函数的返回值的数据类型可以和之前的引用值不同 (正确,例如数据类型转换函数,to_char、to_date等)
页: [1]
查看完整版本: OCP-1Z0-051-题目解析-第4题