Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I am using a tOracleInput component with a query to compare file names in two tables to determine which files have not been loaded yet. However my query is not returning the expected results. It works fine when i use the query in the database but when I use the query in Talend it only returns all records in the first table(DISTR_SALES_FILE_TMP). My query has a not exists subquery in it. Is there a limitation with subqueries in Talend 6.0 or thoughts on what else it might be?
Any assistance would be much appreciated
Here is query i am using in the tOracleInput component
select FILE_NAME from DISTR_SALES_FILE_TMP
where not exists (select file_name from DISTR_SALES_TRACE_STG_HIST
where upper(DISTR_SALES_FILE_TMP.FILE_NAME)= upper(DISTR_SALES_TRACE_STG_HIST.FILE_NAME))