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 |
What does joining a thread mean?
How do you truncate?
Difference between DBMS and RDBMS...CODD's rules
How to prepare for oracle pl sql certification?
Do we need commit after truncate?
What is user defined functions?
why should required nested tables, Object types, partition tables and varying arrays. what is the difference between these are all. give me example with explanation.
how to write date and time literals? : Sql dba
What is vector point function?
What are the types of index in sql?
What has stored procedures in sql?
mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql
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)