Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to use NVL function in the Decode ?

994122Jul 2 2014 — edited Jul 2 2014

Hi all,

How to use NVL function in the Decode ?

SELECT Decode(Sign(sum(nvl(7),0) - nvl(sum(5),0)), -1, 0,(sum(nvl(7),0) - nvl(sum(5),0)) QTY

from dual

Thanks

This post has been answered by RogerT on Jul 2 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 30 2014
Added on Jul 2 2014
5 comments
2,488 views