TAILIEUCHUNG - Managing time in relational databases- P11

Tham khảo tài liệu 'managing time in relational databases- p11', 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ả | 184 Chapter 8 DESIGNING AND GENERATING ASSERTED VERSIONING DATABASES appears in it as a non-key column. Wellness program name is left unchanged. Episode begin date effective end date assertion end date and row create date are added as non-key columns. As before unique constraints and indexes are augmented and are modified as required. Wellpgmcat_cd code appears in the logical data model as a foreign key to the Wellness Program table and so the AVF must convert it into a temporal foreign key. The foreign key declaration is dropped from the DDL the wellness program category code column is also dropped and a wellpgmcat_oid column replaces it. With these changes the temporalization of this table is complete. The Wellness Program Enrollment Table. Unlike the other tables in this sample database Wellness Program Enrollment is an associative table commonly called an xref table . But its conversion to a temporal table follows the pattern we have already seen. The only difference is that this table has two foreign keys to convert to temporal foreign keys not just one and two columns in its original primary key. According to the Table Type metadata table the Wellness Program Enrollment table is an asserted version table. Prior to temporalization the primary key of this table consisted of the two foreign keys client_nbr and wellpgm_nbr. But asserted version tables must have single-column object identifiers and so instead of creating an object identifier for both client and wellness program we create a single object identifier and name it client_wellpgm_oid. We then add effective begin date and assertion begin date as the other two primary key columns. As we see in Figure the business key of this table is the pair of temporal foreign keys. The other four non-key columns are left unchanged. Episode begin date effective end date assertion end date and row create date are added as non-key columns. As before unique constraints and indexes are augmented and are modified as .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.