Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Default 'sum' to zero when recordset is empty ?

Re: Default 'sum' to zero when recordset is empty ?

From: Richard Shea <rshea_at_my-deja.com>
Date: 18 Nov 2001 03:12:50 -0800
Message-ID: <43160f6f.0111180312.1fde63eb@posting.google.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US