on 2016 Jun 01 8:00 AM
Hi all,
Created job using table comparison transform. I compared source with target on record_id field .Rows that doesn't matched on record_id should insert in target table,this is my requirement. But in target all data from source getting inserted into target. can you suggest me how solve this issue.
Table comparison options:
Request clarification before answering.
Make sure you are choosing a right target table in table comparison transform.
Also please remove record_id from compare column box.
Rest all the setting looks correct.
Try & let me know.
Thanks
Swapnil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vineela
I guess your table is truncate & loading so Uncheck the target table option Delete Data From Table Before Loading
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you have not defined the record id as primary key. Define record Id as primarykey in the target
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post your query transform screenshot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Specify generated key column. Then give the Input primary key columns and list all the columns in 'Compare Column' you want to compare against.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.