Database Management Relational System

Database Management Relational System

Database Management Relational System

This article explors methods and issue for introducing time into your database. All code examples are written in TSQL from Microsoft SQL Server 2008. However, the principles apply for Oracle, MySQL, Informix, SQL Anywhere, as well as many other data engines.

Time can be used to track different kinds of data in your database. Data that has been entered into the database is considered History when marked within the bounds of a time segment, a beginning date and an ending date.

Time can be used to track data that is current by denoting it's beginning date, and not defining the ending date; instead defining the ending date as now.