There is good answer here: https://stackoverflow.com/a/1610530/630169
However if updated table have a trigger that does not work as SQL Server produces error: The target table ‘my_table’ of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT clause without INTO clause. What to do if table has trigger?
There is good answer here: https://stackoverflow.com/a/1610530/630169 However if updated table have a trigger that
Share
Find the answer, need to use INTO option like mentioned in documentation: http://msdn.microsoft.com/en-us/library/ms177564.aspx, example: