Sql-server – SQL Server 2016 Audit Options

auditsql serversql-server-2016

Often law or organization policies require an application to track changes to certain table rows in a database. The changed data is often also viewable through some application page. Some common strategies exist to implementing these, such as database triggers, DAO query injects, SQL Server Change Data Capture…

Is there anything new related to this in SQL Server 2016?

Best Answer

Temporal tables are new and in all editions. They add a start and end time to rows and keeps a history of datachanges with some DDL to pull back changes.

It may be possible to stick into existing applications but has some limitations (eg no cascade deletes) and so is much more likely to be put in during design time so that developers don't need to roll their own anymore.