hi ,
i am developing a parallel job in which the design is as follows,
transformer-------> lookup<------- oracle.
the transformer outputs records in which i have a date field. i will have to look up into the oracle stage for the past 5 days worth of records depending on the date field output by the transformer.
please reply fast.
rk
how to access 5 days worth of data
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 38
- Joined: Thu Nov 04, 2004 10:36 am
Your description of the job design is incomprehensible. Could you please restate the design and your requirements?
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 38
- Joined: Thu Nov 04, 2004 10:36 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Is there a mechanism in the database table that allows you to answer the question "5 days worth"?
Then surely the simplest mechanism is to use an appropriate date difference function in the extraction SQL. For example
Then surely the simplest mechanism is to use an appropriate date difference function in the extraction SQL. For example
Code: Select all
SELECT columns FROM table WHERE datefield >= (sysdate - 5);
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.