Versioning in SQL Tables - how to handle it?

前端 未结 7 1225
囚心锁ツ
囚心锁ツ 2021-01-30 08:50

Here\'s a fictional scenario with some populated data. For tax purposes, my fictional company must retain records of historical data. For this reason, I\'ve included a version c

7条回答
  •  抹茶落季
    2021-01-30 09:41

    What you have here is called a Slowly Changing Dimension (SCD). There are some proven methods for dealing with it:

    http://en.wikipedia.org/wiki/Slowly_changing_dimension

    Thought I'd add that since no one seems to call it by name.

提交回复
热议问题