- Categorias:
Funções numéricas (Expoente e raiz)
CBRT¶
Retorna a raiz cúbica de uma expressão numérica.
Sintaxe¶
CBRT( <input_expr> )
Returns¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
Exemplos¶
SELECT x, CBRT(x) FROM tab;
--------+-------------+
x | cbrt(x) |
--------+-------------+
0 | 0 |
2 | 1.25992105 |
-10 | -2.15443469 |
[NULL] | [NULL] |
--------+-------------+