Temporal Tables

SQL Server Temporal Tables: How-To Recipes

  • Article

Tables that return the value of the data in the table at a particular point of time have been with us since the first relational database, but have always required special queries and constraints, and can be tricky to get right. System-versioned Temporal Tables, new in SQL Server 2016, make such tables behave like any other. How do you create one, or modify an existing table? How can you get an In-Memory Optimized OLTP table to be Temporal? Alex Grinberg shows how.

2017-05-30

3,726 reads

Getting Started with Temporal Table in SQL Server 2016 – Part 1

  • Article

With the new temporal table feature, SQL Server 2016 internally manages two tables: a base table, which contains the latest data all the time, and a history table, which contains a history of all of the changes. Arshad Ali looks at the new feature, how it works, and how to either create a new table with this feature or enable it for an existing table.

2016-04-11

4,139 reads

Blogs

What is a container anyway?

By

Recently there was a thread on Twitter which established that a lot of IT...

Comparing Execution Plans

By

When you run a query twice, and get dramatically different run times, your first...

What permissions do temp stored procedures use?

By

In a performance tuning class I recently took with Brent Ozar (b/t) he mentioned...

Read the latest Blogs

Forums

Statistics Profile Results

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Statistics Profile Results

Optimize a stored procedure

By keneangbu

I have a stored procedure that is called multiple times to get all the...

Status Update 19 Jun 2019

By Steve Jones - SSC Editor

My apologies. I have completely slacked off here, but since the 17th of May,...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers