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!

SUM, MAX, DECODE

257026Apr 24 2002
can you use SUM and MAX in a DECODE

something like this:

sum(DECODE(TRUNC(max(AGED_DAYS)/30),0,ACCOUNT_BALANCE,0.00)) "FALL"

when i do this it does not work.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2002
Added on Apr 24 2002
5 comments
892 views