What is nvl function?
Answers were Sorted based on User's Feedback
Answer / raveendran
In Oracle/PLSQL, the NVL function lets you substitute a
value when a null value is encountered.
The syntax for the NVL function is:
NVL( string1, replace_with )
string1 is the string to test for a null value.
replace_with is the value returned if string1 is null.
| Is This Answer Correct ? | 20 Yes | 2 No |
Answer / the superstar rajnikanth
NVL(F,E)
if F is null,it returns expression E.F can be of any type.
the type of E should be the same as that on the left-hand side.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / dinesh kumar
Converts Null value to Absolute for calculation.
Ex : nvl(commission,0) returns 0 when commission is null.
| Is This Answer Correct ? | 1 Yes | 0 No |
How do I save a sql query?
What is data abstraction in sql?
What do you mean by table in sql?
Explain alias in sql?
Advantages and disadvantages of stored procedure?
What are few of the schema objects that are created using PL/SQL?
What is not null in sql?
What do you mean by field in sql?
write a query that returns first characters of each word in Oracel/Sql pl sql
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
What are joins in sql?
How much does sql certification cost?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)