What is the usage of the NVL() function?

Asked: Apr 14, 2023

The NVL() function is used to convert the NULL value to the other value. The function returns the value of the second parameter if the first parameter is NULL. If the first parameter is anything other than NULL, it is left unchanged. This function is used in Oracle, not in SQL and MySQL. Instead of NVL() function, MySQL have IFNULL() and SQL Server have ISNULL() function.

Asked by brijesh

Answers (0)

No answers yet. Be the first to answer!