Code:
Data for a Group 1
ES_DATE ES_DATE_H CS_DATE CS_DATE_H
+---------+---------+---------+---------+
07/30/09 04/21/09 01/30/10 11/30/08
06/30/09 06/30/09 12/30/09 12/30/09
07/30/09 07/30/09 08/15/09 10/20/09
07/30/09 08/30/09 10/20/09 11/01/09
I would like to get the maximum date between ES_DATE_H and CS_DATE_H
where the ES_DATE_H <> any dates in ES_DATE and CS_DATE_H <> any dates in CS_DATE
Take the above example, here 04/21/09 and 08/30/09 are the only ES_DATE_H that is not present in ES_DATE.
while for CS_DATE_H, it is 11/01/09 which is the only date not in CS_DATE
Using the filter criteria, this is how the resulting table will look like in theory
Code:
Resulting Table
ES_DATE_H CS_DATE_H
+---------+----------+
04/21/09 11/01/09
08/30/09
Now, I need to get the maximum date between the two columns. The answer should be 11/01/09.
By the way, data above appears per group.
XIR2 on Unix Solaris
Informatica 7.1.3
CRXIR2, Oracle 9i/10g