TAILIEUCHUNG - Advanced Database Technology and Design phần 4

Vì lợi ích của tính thống nhất, người đứng đầu của mỗi ràng buộc toàn vẹn thường có chứa một ICN vị không thống nhất, mà chỉ là một tên có thể được đưa ra để hạn chế đó. Điều này rất hữu ích cho các mục đích thông tin vì ICN cho phép việc xác định các hạn chế mà nó đề cập. | Temporal Database Systems 151 is d10 and so d10 shows as the TO value for each tuple that pertains to the current state of affairs. Note You might be wondering what mechanism could cause all of those d10 s to be replaced by dll s on the stroke of midnight. Unfortunately we have to set this issue aside for the moment we will return to it in Section . Note that the temporal database of Table includes all of the information from the semitemporal one of Table together with historical information concerning a previous period from d02 to d04 during which supplier S2 was under contract. The predicate for S_FROM_TO is Supplier S was named SNAME had status STATUS was located in city CITY and was under contract from day FROM and not on the day immediately before FROM to day TO and not on the day immediately after TO . The predicate for SP_FROM_TO is analogous. Constraints First Temporal Database First of all we need to guard against the absurdity of a FROM-TO pair appearing in which the TO timepoint precedes the FROM timepoint CONSTRAINT S_FROM_TO_OK IS_EMPTY S_FROM_TO WHERE TO FROM CONSTRAINT SP_FROM_TO_OK IS_EMPTY SP_FROM_TO WHERE TO FROM Next observe from the underlining in Table that we have included the FROM attribute in the primary key for both S_FROM_TO and SP_FROM_TO for example the primary key of S_FROM_TO obviously cannot be just S for then we could not have the same supplier under contract for more than one continuous period. A similar observation applies to SP_FROM_TO. Note We could have used the TO attributes instead of the FROM attributes in fact S_FROM_TO and SP_FROM_TO both have two candidate keys and are good examples of relvars for which there is no obvious reason to choose one of those keys as primary. We make the choices we do purely for definiteness. However these primary keys do not of themselves capture all of the constraints we would like them to. Consider relvar S_FROM_TO for example. It should be clear that if there is a .

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.