Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Default 'sum' to zero when recordset is empty ?
Gary Gapinski <glg_at_apk.net> wrote in message news:<3BF4F5F1.F45D618D_at_apk.net>...
> I haven't actually tested this, but try putting the subselect in an nvl
> function (e.g., nvl(<subselect>,0) AS myproblemtotal).
That works fine, thanks for the tip.
regards
richard shea. Received on Sun Nov 18 2001 - 05:12:50 CST
![]() |
![]() |