I have a Microsoft SQL Server 2012 with a table called for example 'Tasks' which is used by a 3rd party solution. I have the same same with one additional row "change_type" in another DB.
I want to copy the affected row on an INSERT, UPDATE or DELETE from the source to the destionation table additionally with the info in the column 'change_type' if it was an isert, update or delete.
How can i do this in Microsoft SQL Server 2012?