개인적인 정리

[Oracle] POWER() 본문

DB/ORACLE

[Oracle] POWER()

yeon.Biju 2020. 4. 14. 10:14

오라클 POWER()

 

POWER()

   - 제곱에 대한 표현

 

POWER(n2, n1)

의 형태

 

POWER returns n2 raised to the n1 power. The n2 and the exponent n1 can be any numbers, but if n2 is negative, then n1 must be an integer.

 

This function takes as arguments any numeric data type or any nonnumeric data type that can be implicitly converted to a numeric data type. If any argument is BINARY_FLOAT or BINARY_DOUBLE, then the function returns BINARY_DOUBLE. Otherwise , the function returns NUMBER.

 

SQL> SELECT POWER(3, 4) FROM DUAL ;

   --> 81

'DB > ORACLE' 카테고리의 다른 글

[ORACLE] REGEXP_COUNT()  (0) 2020.04.21
[Oracle] RAWTOHEX()  (0) 2020.04.14
[Oracle]RATIO_TO_REPORT()  (0) 2020.04.14
[Oracle] RANK()  (0) 2020.04.14
[Oracle] PERCENT_RANK()  (0) 2020.04.14
[Oracle]NVL2()  (0) 2020.04.13
[Oracle] NVL()  (0) 2020.04.13
[Oracle] NUMTOYMINTERVAL()  (0) 2020.04.13
Comments