Joe Celko's Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQLPerfectly intelligent programmers often struggle when forced to work with SQL. Why? Joe Celko believes the problem lies with their procedural programming mindset, which keeps them from taking full advantage of the power of declarative languages. The result is overly complex and inefficient code, not to mention lost productivity.This book will change the way you think about the problems you solve with SQL programs.. Focusing on three key table-based techniques, Celko reveals their power through detailed examples and clear explanations. As you master these techniques, you’ll find you are able to conceptualize problems as rooted in sets and solvable through declarative programming. Before long, you’ll be coding more quickly, writing more efficient code, and applying the full power of SQL
|
Contents
1 | |
Chapter 2 Hardware Data Volume and Maintaining Databases | 29 |
Chapter 3 Data Access and Records | 37 |
Chapter 4 Lookup Tables | 51 |
Chapter 5 Auxiliary Tables | 65 |
Chapter 6 Views | 87 |
Chapter 7 Virtual Tables | 117 |
Chapter 8 Complicated Functions via Tables | 137 |
Chapter 11 Thinking in SQL | 215 |
Chapter 12 Group Characteristics | 235 |
Chapter 13 Turning Specifications into Code | 255 |
Chapter 14 Using Procedure and Function Calls | 273 |
Chapter 15 Numbering Rows | 287 |
Chapter 16 Keeping Computed Data | 297 |
Chapter 17 Triggers for Constraints | 301 |
Chapter 18 Procedural and Data Driven Solutions | 323 |
Other editions - View all
Joe Celko's Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL Joe Celko No preview available - 2008 |
Joe Celko's Thinking in Sets: Auxiliary, Temporal, and Virtual Tables in SQL Joe Celko No preview available - 2008 |
Common terms and phrases
algorithm arrival_date article_id barcode base table CASCADE CHAR check constraint check digit CHECK OPTION clause COBOL code_type col_x compute constraints COUNT CREATE TABLE CREATE VIEW cursor data element data type data warehouse database DECLARE DEFAULT defined DELETE dept_name derived table disk Don Quixote Dorothy Gale end_date error event_id event_name event_time example EXISTS SELECT Foobar FOREIGN KEY GROUP gtin guest_name hand_qty INSERT INTEGER NOT NULL Joe Celko look lookup table media_type NULL CHECK NULL PRIMARY KEY OLAP OLTP OUTER JOIN parameter parking_space partition perfect hashing function Personnel physical predicate problem programming language proprietary purchase_date query RDBMS REPLACE result rules schema seq_nbr Sequence sequential simple skill_code skill_code2 SPACES SQL engine SQL product SQL programmer Standard SQL start_date statement storage string SUBSTRING syntax tape temporary tables TIMESTAMP trigger unique UPDATE VARCHAR WidgetInventory zero
Popular passages
Page 15 - Red, green, and blue are three primary additive colors (individual components are added together to form a desired color) and are represented by a three-dimensional, Cartesian coordinate system (Figure 3.1).