ODBC Connector issue
Posted: Mon Mar 12, 2018 8:50 pm
Dear All,
for the last two days I am playing around with ODBC connector to load data
My requirement:If the rows are already existing then update else Insert.
Target DB:Sql Server
Requirement constraint: Cant add primary keys or index in target DB as it is being already used in front end,hence no keys or indexes can be added.
Issue:Using data stage I have checked the columns to be treated as key columns and used option Insert then update but to my surprise both options are not working and whenever I run the job at the second time all the rows get inserted again creating duplicate records
When I use the option Update then Insert, deadlock issue warnings are generated and rows are not getting properly inserted or updated.
Tried running job in sequential mode but no luck! Kindly share your valuable thoughts
for the last two days I am playing around with ODBC connector to load data
My requirement:If the rows are already existing then update else Insert.
Target DB:Sql Server
Requirement constraint: Cant add primary keys or index in target DB as it is being already used in front end,hence no keys or indexes can be added.
Issue:Using data stage I have checked the columns to be treated as key columns and used option Insert then update but to my surprise both options are not working and whenever I run the job at the second time all the rows get inserted again creating duplicate records
When I use the option Update then Insert, deadlock issue warnings are generated and rows are not getting properly inserted or updated.
Tried running job in sequential mode but no luck! Kindly share your valuable thoughts