Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- 오라클
- Oracle
- String Functions and Operators
- 티베로
- Tibero
- Date and Time Function
- Data and Time Functions
- String Function and Operators
- HTTP
- Sring Functions and Operators
- 방화벽
- 전자정부 표준프레임워크
- Date and Time Functions
- MySQL
- 윈도우
- String Functions and Date Operators
- SVN
- 전자정부표준프레임워크
Archives
- Today
- Total
웹이야기
MySQL CEIL(), CEILING() 본문
CEIL(X)
CEIL() is a synonym for CEILING()
CEILING(X)
Returns the smallest integer value not less than X.
mysql> SELECT CEILING(1.1) ;
+--------------+
| CEILING(1.1) |
+--------------+
| 2 |
+--------------+
1 row in set (0.00 sec)
mysql> SELECT CEILING(1) ;
+------------+
| CEILING(1) |
+------------+
| 1 |
+------------+
1 row in set (0.00 sec)
mysql> SELECT CEILING(-3.2);
+---------------+
| CEILING(-3.2) |
+---------------+
| -3 |
+---------------+
1 row in set (0.00 sec)
mysql> SELECT CEILING(-3) ;
+-------------+
| CEILING(-3) |
+-------------+
| -3 |
+-------------+
1 row in set (0.00 sec)
'D > MySQL' 카테고리의 다른 글
MySQL FLOOR() (0) | 2020.03.26 |
---|---|
MySQL CONV() (0) | 2020.03.26 |
MySQL ABS() (0) | 2020.03.26 |
MySQL Mathematical Functions (0) | 2020.03.26 |
MySQL Arithmetic Operators (0) | 2020.03.26 |
Comments