tags:

views:

37

answers:

0

i'm currently using a replace into statement, I have a unique field which will cause it to UPDATE rather than INSERT if it finds a duplicate...

Problem is if it finds a duplicate i can't get to update on a few columns, it just wipes the lot.

Is there a similar "one statement" method where I can just UPDATE what I want?

I've found merge into but don't undertsnad the first bit about merge into table using table