NULL in outer joins?
From: Siong Chan <siong_at_malibu.sfu.ca>
Date: 1995/05/15
Message-ID: <siong.800556205_at_sfu.ca>#1/1
Date: 1995/05/15
Message-ID: <siong.800556205_at_sfu.ca>#1/1
Hi there!
I have a quick question here that has been puzzling me for sometime.
Say, we obtained nulls in outer joins...how do we replace the nulls
in say, ORACLE Reports with 0???
Example,
To select monthly salary for all departments, even those departments with
no employees:
DEPTNO DNAME MONTHLY SALARY
----------- ------------ --------------
10 ACCOUNTING 8750 20 RESEARCH 10875 30 OPERATIONS <----Blank or NULL because no emp.
How can I replace that blank or null with 0 in ORACLE REPORTS?
I have tried a format trigger htat says, IF SUM(sal) IS NULL THEN... doesn't work. So....any ideas???
Platform: ORACLE REPORTS 2.0.14
Thanks in advance!!!
---
Siong H. Chan
Jason Sound Industries Ltd.
Received on Mon May 15 1995 - 00:00:00 CEST