I took a look at the question: sql swap primary key values
So I got the following script:
UPDATE t, t as t2
SET t.id = t2.id, t2.id = t.id
WHERE t.id = 1 AND t2.id = 2
But i can not translate this to a valid SQL Server syntax.
Please help me :)
Thanks in advance!