I needed to merge two table in SQL Server. Found a simple tutorial on how to do it. To be honest, the first method (implementing cursors) was fine for my purposes.
Link: http://www.sql-server-performance.com/articles/per/operations_no_cursors_p1.aspx
