Making data date-effective
Date effective tables allow us to create a new version whenever the data is changed, and see the date at any point in time. This sounds great, and will no doubt find requests to make all tables date effective. There is a penalty. The first is that it brings a little complexity to the process of developing the tables, reports, and user interface. The other is that it creates a new record every time, and can affect performance. We should only use this if we really need it. Great examples include the human resource tables to allow history of name changes, previous and planned positions, addresses, and so on.
In our example, we will create a new table for values such as odometer readings for a vehicle. We will create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access