TAILIEUCHUNG - Managing time in relational databases- P5

Tham khảo tài liệu 'managing time in relational databases- p5', 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ả | 62 Chapter 3 THE ORIGINS OF ASSERTED VERSIONING COMPUTER SCIENCE RESEARCH the row representing that assertion will cease to be asserted on that date even if no correcting assertion is supplied to replace it. The last reason an assertion end date may be changed is to lock an assertion which has been updated or deleted by a deferred transaction until the resulting deferred assertion becomes current. We will have more to say about deferred transactions deferred assertions and locking in Chapter 13. Now and UTC Keeping our notation DBMS agnostic and keeping the clock tick granularity generic we will refer to the current moment to right now as Now .7 SQL Server may use getdate and DB2 may use Current Timestamp or Current Date. Depending on our clock tick duration we might need to use a date formatting function to set the current granularity. In our examples we generally use one month as our clock tick granularity. However for our purposes Now can take on values at whatever level of granularity we choose to use including day second or microsecond. Now is usually assumed to represent the current moment by using local time. But local time may change because of entering or leaving Daylight Savings Time. And another issue is time zone. At any one time data about to update a database may exist in a different time zone than the database itself. Users about to retrieve data from a database may exist in a different time zone than the database itself. And of course federated queries may attempt to join data from databases located in different time zones. So the data values returned by Now can change for reasons other than the passage of time. Daylight Savings Time can change those values. At any one point in time those values can differ because of time zones. Clearly we need a reference framework and a set of values that will not change for any reason other than the passage of time and that will be the same value at any point in time the world over and year around. This reference

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.