TAILIEUCHUNG - Joe Celko s SQL for Smarties - Advanced SQL Programming P2

Joe Celko s SQL for Smarties - Advanced SQL Programming P2. In the SQL database community, Joe Celko is a well-known columnist and purveyor of valuable insights. In Joe Celko's SQL for Smarties: Advanced SQL Programming, he picks up where basic SQL training and experience leaves many database professionals and offers tips, techniques, and explanations that help readers extend their capabilities to top-tier SQL programming. Although Celko denies that the book is about database theory, he nevertheless alludes to theory often to buttress his practical points. This title is not for novices, as the author points out. Instead, its intended audience. | x CONTENTS CREATE TRIGGER Statement 52 CREATE PROCEDURE Statement 53 DECLARE CURSOR Statement 53 2 Normalization 61 Functional and Multivalued Dependencies 64 First Normal Form 1NF 64 Note on Repeated Groups 66 Second Normal Form 2NF 70 Third Normal Form 3NF 71 Elementary Key Normal Form EKNF 72 Boyce-Codd Normal Form BCNF 73 Fourth Normal Form 4NF 75 Fifth Normal Form 5NF 76 Domain-Key Normal Form DKNF 78 Practical Hints for Normalization 87 Key Types 88 Natural Keys 89 Artificial Keys 89 Exposed Physical Locators 89 Practical Hints for Denormalization 91 Row Sorting 93 3 Numeric Data in SQL 101 Numeric Types 101 BIT BYTE and BOOLEAN Data Types 104 Numeric Type Conversion 105 Rounding and Truncating 105 CAST Function 107 Four-Function Arithmetic 108 Arithmetic and NULLs 109 Converting Values to and from NULL 110 NULLIF Function 110 COALESCE Function 111 Vendor Math Functions 113 CONTENTS xi Number Theory Operators 113 Exponential Functions 116 Scaling Functions 116 Converting Numbers to Words 117 4 Temporal Data Types in SQL 119 Notes on Calendar Standards 119 SQL Temporal Data Types 123 Tips for Handling Dates Timestamps and Times 124 Date Format Standards 124 Handling Timestamps 125 Handling Times 127 Queries with Date Arithmetic 128 The Nature of Temporal Data Models 129 Temporal Duplicates 129 Temporal Databases 135 Temporal Projection and Selection 137 Temporal Joins 139 Modifying Valid-Time State Tables 145 Current Modifications 146 Sequenced Modifications 150 Nonsequenced Modifications 155 Transaction-Time State Tables 156 Maintaining the Audit Log 158 Querying the Audit Log 160 Modifying the Audit Log 164 Bitemporal Tables 164 Temporal Support in .

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.