What is nvl function?

Answer Posted / shivaindu

In Oracle/PLSQL, the NVL function lets you substitute a
value when a null value is encountered.

The syntax for the NVL function
-------------------------------

NVL( string1, replace_with )

Example #1:
----------

select NVL(supplier_city, 'n/a' or ‘0’)
from suppliers;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is write ahead logging in sql server?

562


What is the difference between count 1 and count (*) in a sql query?

497


Lookups are a key component in sql server integration services (ssis). Explain its purpose?

535


How do I count duplicates in sql?

545


What is duration in sql profiler trace?

550






What is sql and also describe types of sql statements?

562


What is a mutating table and a constraining table?

569


How to run sql*plus commands in sql developer?

589


What is count * in sql?

551


What is the difference between stored procedure and view?

528


Explain the purpose of %type and %rowtype data types with the example?

551


How do you delete a table?

537


What company owns postgresql?

560


What is a sql driver?

525


What are different joins used in sql?

552