Hi,
I am inserting data into staging table from the flat file. My flat file contain 50 columns. Every timing when I load flat file I am directly loading all the records from flat file to table. After loading flat file I need to check which records are duplicate in the in table and base on that I need to update the Flag to true/false in table. My primary is compose of three columns.
I have developed the logic which find out the duplicate record with the help of SP but it is taking long time to execute as I am comparing 50 columns.
Can anyone help me to do this.
In my case duplicate record is record which will have all the columns identical.