This system stored procedure takes a table name as a parameter and generates a MERGE statement containing all the table data. This is useful if you need to migrate static data between databases, eg.
In SQL Server, we can omit ";" for SELECT, UPDATE, INSERT or DELETE statement, but it looks we cannot omit ";" in MERGE statement. SQL Server MERGE statement needs an explicit ";"(semi-colon) at the ...