Hi.
I am trying to figure what DTS tasks to use to accomplish the below scenario.
1. Query table/column A.JOBID where A.STATUS = PUSHED.
2. For each A.JOBID from query 1 set A.STATUS = PULLING.
3. Query oracle table B and insert into sql table C each record where B.STATUS = PULLING.
4. When 3 is done set each A.JOBID = PULLED.
My problem is how do I take the results of query1 and store them (as variables? parameters?) to be used in queries 2,3,4?
Thanks.
I am trying to figure what DTS tasks to use to accomplish the below scenario.
1. Query table/column A.JOBID where A.STATUS = PUSHED.
2. For each A.JOBID from query 1 set A.STATUS = PULLING.
3. Query oracle table B and insert into sql table C each record where B.STATUS = PULLING.
4. When 3 is done set each A.JOBID = PULLED.
My problem is how do I take the results of query1 and store them (as variables? parameters?) to be used in queries 2,3,4?
Thanks.