I have a server job that the lookup fails due to sort problems. To isolate the cause, I simplified the job by limiting it to the source (ORAOCI9 stage), SORT stage, Hash stage and finally outputing to a sequential file. With or without the sort stage, the sort fails. I am already sorting the data in the ORAOCI9 using an 'order by' clause, but nevertheless, both the input and output tabs in the Hash stage end up being out of order.
The ORAOCI9 stage uses the following select statement to pull in the information. When I sample data from the ORAOCI stage, the data is orted.
Code: Select all
select table_name from all_tables where owner in (#SCHEMAS#)
order by table_name
Thank you,
Seyed