Wanted more clarity on these differences with some practical examples. Thank you in advance.
Asked
Active
Viewed 1,728 times
-1
-
Show us some sample data, and the results. – jarlh Jun 18 '20 at 07:39
-
`COALESCE()` is ANSI SQL, and expected to be portable! – jarlh Jun 18 '20 at 07:40
1 Answers
0
There is no difference between both if only 2 arguments are passed in COALESCE
.
NVL
can take only 2 arguments while COALESCE
can take as many arguments as you want (There must be some limit but that I will update soon)

Popeye
- 35,427
- 4
- 10
- 31