Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Handling NULL values in columns when joining on several tables
Hi,
Is there an expert out there that can help me resolve an issue with a
query.
I am joining several columns to a PERIOD dimension, which contains the date and a period key.
The source table or view, might have date values in the column.
The query looks something like this...
SELECT COUNT(*)
FROM SRC_OFFSET_FACTS_V OFV,
PERIOD P1, PERIOD P2, PERIOD P3, PERIOD P4,
OFV.PIPE_CLEARED_DT = P2.FULL_DATE (+) AND OFV.TRANS_BRANCH_ID = BRA.BRANCH_LE_ID AND OFV.DEALER_LE_ID = DLR.DEALER_LE_ID AND OFV.NSF_DT = P3.FULL_DATE (+) AND OFV.NSF_CLEARED_DT = P4.FULL_DATE (+) AND(OFV.OFFSET_TYPE = OT.OFFSET_TYPE AND
Regards,
Fernando
Received on Sat Jun 28 2003 - 10:20:18 CDT