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 will be date change into string
Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?
Does postgresql run on the cloud?
How many databases can sql express handle?
What is difference between stored function and application function?
why not null constraint showing its constraint type as 'c'
What is CYCLE/NO CYCLE in a Sequence?
Difference between truncate, delete and drop commands?
What are the most important characteristics of pl/sql?
What does plvtab enables you to do when you showthe contents of pl/sql tables?
Which is faster union or join?
Mention what is the use of function "module procedure" in pl/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)