TAILIEUCHUNG - Managing time in relational databases- P8

Tham khảo tài liệu 'managing time in relational databases- p8', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 6 DIAGRAMS AND OTHER NOTATIONS 123 prevent us from inserting another row for policy P861 with an effective begin date of let s say April 2010 The answer is that Asserted Versioning explicitly recognizes and enforces temporal entity integrity a concept we introduced in the preceding chapter. As we said there any Asserted Versioning implementation must reject a transaction that would create a version whose effective time period intersects within shared assertion time even a single effective-time clock tick included in another version of that object already in the table. Most physical transactions against bi-temporal tables are inserts. When we distinguish inserts from updates as we have done here we are talking about logical transactions against bi-temporal tables transactions we call temporal transactions. The Temporal Foreign Key A temporal foreign key TFK is analogous to a normal foreign key and serves much the same purpose but it is one which the DBMS does not know how to use. A foreign key at the schema level points from one table to a table it is dependent on. At the row level a foreign key value points from one row in the former table to one row in the latter table. At the schema level a TFK also points from one table to a table it is dependent on. But at the row level it points from one row which is a version to a group of one or more rows which make up an episode of the object whose oid matches the oid in the temporal foreign key. So a TFK does not point to a specific row in its referenced table. But it also does not point to the episode which the version containing it is dependent on. It points only to an object. In our example it says only that this version of policy P861 belongs to client C882. But since no row in particular represents a client . since clients are themselves versioned and since their versions are also asserted the TFK points to no row in particular. Since there may be multiple episodes for any object the TFK points to no .

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.