Chinaunix首页 | 论坛 | 博客
  • 博客访问: 596770
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4916
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-12-16 15:04:35

Choose two.

Which two statements are true about single row functions?

A) CONCAT : can be used to combine any number of values

B) MOD : returns the quotient of a division operation

C) CEIL : can be used for positive and negative numbers

D) FLOOR : returns the smallest integer greater than or equal to a specified number

E) TRUNC : can be used with NUMBER and DATE values

Answer::CE

(解析:concat 函数只能连接两个字符串或者两个列的值。

ceil 函数向上取整数。

floor 函数向下取整。)

SQL> select ceil(-500.1) from dual;

CEIL(-500.1)

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

-500

SQL> select ceil(-500.99999) from dual;

CEIL(-500.99999)

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

-500

SQL> select floor(-500.1) from dual;

FLOOR(-500.1)

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

-501

阅读(1146) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~