I am doing VB load and SSIS load. So that from these loads data is inserting into database tables. I need to find if there is any duplicate records are inserting into the tables. If any duplicate records are going into the table then i need to fire a trigger at the insertion of duplicate record and i need to insert the same record into another table.
For example y VB load or SSIS load is inserting records into the Table1. So i need to find if any duplicate records are inserting into table1. If inserted then i need to fire a trigger and need to insert that duplicate record into Table2.
Please suggest the solution. Your help really appreciated. Thanks in advance