Difference between NVL,NVL2, NULLIF and COALESCE
NVL function will check whether the first input parameter is null, if first input parameter is null then the function returns the second parameter value as output.
NVL2 function will check the first parameter, and return second parameter if the first parameter is not null, otherwise returns third parameter.
NULLIF will compare the input parameters ( first and second parameter ), and returns NULL of both are same, otherwise returns the first parameter value.
COALESCE, returns the first not null expression in the given input parameters.
--------------------------------------------------------------------------------------------------------
List of all the SQL and PLSQL interview questions
https://easy-learning-tech.blogspot.c...
Watch video Oracle interview question difference between null functions | NVL vs NVL2 vs NULLIF vs COALESCE online without registration, duration hours minute second in high quality. This video was added by user Siva Academy 01 July 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 147,428 once and liked it 1.7 thousand people.