SCD-Merge-Wizard
SCD-Merge-Wizard copied to clipboard
Get inserted and update rows count from an SCD2 query
Is there a way to get the insert and updated rows count from an SCD2 query so they can be added to an audit log?
Not yet. But thanks, this is a good shout!
This is one of the reasons why I added the suggestion for templates. We would also need to provide an audit log table and a stored procedure, or some inline T-SQL to do the auditing. Definitely doable though. @juansandzeros You can see some of the code required to save row counts in the following enhancement suggestion.
https://github.com/SQLPlayer/SCD-Merge-Wizard/issues/11