You can enable versioning of the temporal table by using the ALTER table command with the ADD versioning clause and specifying the history table name in the use history table clause (see Listing 3).
您可以使用ALTER TABLE命令和ADD versioning子句,并在USE HISTORY table子句中指定历史表名称,为时态表启用版本控制(参见清单3)。
3
DB2 automatically rewrites the queries with appropriate WHERE clause predicates depending on the data types used in the start and end columns of the temporal tables.