Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Got it.
I think you misunderstood the usage of "Truncate Table".
Because TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00 and TIME_ID:20120404, CALENDAR_DAY:04-APR-2012 00:00:00 are not the same record.
You'd better choose "Drop and create table" instead of "Truncate Table".
Here is the usage of Truncate Taleb.
The data in target table.
TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00
The date in source table.
TIME_ID:20120403, CALENDAR_DAY:04-APR-2012 00:00:00
You will see these two records have the same TIME_ID and different CALENDAR_DAY.
Then your previous job will work.
In short, the records in source and target which you want to truncate should own the same key.
Regards,
Pedro
Hi
The table will be created based on the schema of tOracleOutput.
Always it is the same with the target table.
One more thing. Don't forget to type "Length" of each column in tOracleOutput.
Regards,
Pedro
Hi Pavan
Glad to help you.
Regards,
Pedro