Comments posted to this topic are about the item Merge Tables in SQL 2005
I think you missunderstand the MERGE query in SQL2008. MERGE is a shortcut for performing insert, update, or delete operations on a target table based on the results of a join with a source table, all in a single query. It operates on rows not on columns. However your script is interesting for the problem it solves and it should be useful even in SQL2008.
Thanks for the script.
Viewing 3 posts - 1 through 2 (of 2 total)