Temporal tables in SQL
SQL Server 2016 introduced support for temporal tables (also known as system-versioned temporal tables) as a database feature that brings built-in support for providing information about data stored in the table at any point in time rather than only the data that is correct at the current moment in time. Temporal is a database feature that was introduced in ANSI SQL 2011. Real data sources are dynamic and more often than not business decisions rely on insights that analysts can get from data evolution. Use cases for temporal tables include: · Auditing all data changes and performing data forensics when necessary · Reconstructing state of the data as of any time in the past · Calculating trends over time · Maintaining a slowly changing dimension for decision support applications · ...