positive
positiveβ
descriptionβ
Syntaxβ
BIGINT positive(BIGINT x)
DOUBLE positive(DOUBLE x)
DECIMAL positive(DECIMAL x)
Return x
.
exampleβ
mysql> SELECT positive(-10);
+---------------+
| positive(-10) |
+---------------+
| -10 |
+---------------+
mysql> SELECT positive(12);
+--------------+
| positive(12) |
+--------------+
| 12 |
+--------------+
keywordsβ
POSITIVE