Hi All,
I have a table which gets its data from another table. The destination table has 2 columns and it has index on it, which doesn't allow duplicates. So my question is I want to create a program in SQL Server 2008 R2 itself which checks for duplicates and if the duplicate is not there then it inserts, if not it just updates, so is there a way to do this?
Thanks for any tips or help
Asha