Doing Inserts,Updates and Delete in Database tables using TI
Posted: Mon Dec 27, 2010 9:32 pm
Hi Guys,
I have a excel source and using this with an ODBC and writing SQL query to pull data from Excel sheet and
My task is to do inserts update and delete a table present in SQL Server data base.
I have done lot of Inserts before using "ODBCOutput function" But how can i do Insert and update by comparing the columns?? like PK of Source is Null then Insert and if PK of target is null then delete and else compare each column with Target column and Update..
can you guys tell me any idea i can follow??
Thank you....
I have a excel source and using this with an ODBC and writing SQL query to pull data from Excel sheet and
My task is to do inserts update and delete a table present in SQL Server data base.
I have done lot of Inserts before using "ODBCOutput function" But how can i do Insert and update by comparing the columns?? like PK of Source is Null then Insert and if PK of target is null then delete and else compare each column with Target column and Update..
can you guys tell me any idea i can follow??
Thank you....