Quantcast
Viewing all articles
Browse latest Browse all 10

Find all missing records

Thanks Phil,

As a matter of fact, I have suggested to my boss to write a delete trigger to write the deleted record to another table for audit trail. In my assignment, I just need to display all the missing records, whether it was deleted by the users, or it was missing because of roll back tran.
It is better to use the OUTPUT clause if appropriate. Use trigger as last resort only.



Kalman Toth, SQL Server & BI Training, SSAS, SSIS, SSRS; http://www.SQLUSA.com

Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>