개인적인 정리

[Oracle] NANVL() 본문

DB/ORACLE

[Oracle] NANVL()

yeon.Biju 2020. 4. 10. 10:35

오라클 NANVL()

 

NANVL()

   -

 

NANVL(n2 ,n1)

의 형태

 

The NANVL function is useful only for floating-point numbers of type BINARY_FLOAT or BINARY_DOUBLE. it instructs Oracle Database to return an alternative value n1 if the input value n2 is NAN(not a number). If n2 is not NaN. then Oracle returns n2.

 

This function takes as arguments any numeric data type or any nonumeric data type that can be implicitly converted to a numeric data type. Oracle determines the argument with the highest numeric precedence, implicitly converts the remaining arguments to that data type, and returns that data type.

 

 

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

[Oracle] NTILE()  (0) 2020.04.13
[Oracle] NTH_VALUE()  (0) 2020.04.10
[Oracle] NEXT_DAY()  (0) 2020.04.10
[Oracle] NCHR()  (0) 2020.04.10
[Oracle] MONTHS_BETWEEN()  (0) 2020.04.10
[Oracle] MOD()  (0) 2020.04.09
[Oracle] MIN()  (0) 2020.04.09
[Oracle] MEDIAN()  (0) 2020.04.09
Comments