Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

null value 1

Status
Not open for further replies.

ksbrace

Programmer
May 13, 2000
501
US
Hello,
I'm getting null values for paymentamout when it should be 0 and I would like to populate the nulls with a zero. I thought this would do it:
SQL:
select sum(p.paymentamount), pf.portfolio, pf.placementdate 
from portfolios pf left outer join payments p on p.portfolio=pf.portfolio 
and p.paymentstatus='PENDING' 
group by pf.portfolio order by pf.placementdate;


Any help would be great!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top