March 1, 2018 at 7:36 am
peter.midgley - Thursday, March 1, 2018 2:06 AMWilliam Rayer - Thursday, March 1, 2018 1:27 AMThere is absolutely no need to ever audit INSERTs. All they do is double the storage requirements. If you INSERT a row and never change it, the original row is in both the original table and the audit table. Instant duplication of data and audit tables get large enough without that guaranteed duplication of data.
If you don't audit the first INSERT, how do you know who inserted the row or when it was inserted? The only way I could think of doing this is by adding extra columns to the original table.
what I said !!!
Yep... strongly agree with both of you on that. My statement was talking about only what ended up in the audit table but may not have come across that way.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 1, 2018 at 8:26 am
If we're talking about DML auditing, then Change Tracking can potentially give you what you need with less overhead and storage than insert / delete triggers.
"Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply