Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get inserted and update rows count from an SCD2 query #16

Open
juansandzeros opened this issue Dec 1, 2020 · 2 comments
Open

Get inserted and update rows count from an SCD2 query #16

juansandzeros opened this issue Dec 1, 2020 · 2 comments

Comments

@juansandzeros
Copy link

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?

@NowinskiK
Copy link
Member

Not yet. But thanks, this is a good shout!

@jwk6
Copy link

jwk6 commented Jun 1, 2021

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.
#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants