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
- String Function and Operators
- Oracle
- Data and Time Functions
- String Functions and Operators
- 전자정부 표준프레임워크
- Date and Time Function
- MySQL
- Sring Functions and Operators
- 오라클
- Tibero
- 티베로
- String Functions and Date Operators
- 윈도우
- 전자정부표준프레임워크
- Date and Time Functions
- HTTP
- SVN
- 방화벽
Archives
- Today
- Total
웹이야기
MySQL SIGN() 본문
SIGN(X)
Returns the sign of the argument as -1, 0, or 1, depending on whether X is negative, zero, or positive.
mysql> SELECT SIGN(-23), SIGN(0), SIGN(234) ;
+-----------+---------+-----------+
| SIGN(-23) | SIGN(0) | SIGN(234) |
+-----------+---------+-----------+
| -1 | 0 | 1 |
+-----------+---------+-----------+
1 row in set (0.00 sec)
'D > MySQL' 카테고리의 다른 글
MySQL TRUNCATE() (0) | 2020.03.29 |
---|---|
MySQL SIN() (0) | 2020.03.29 |
MySQL ROUND() (0) | 2020.03.29 |
MySQL RAND() (0) | 2020.03.26 |
MySQL MOD() (0) | 2020.03.26 |
Comments