Transact-SQL Cookbook

- Autorzy:
- Ales Spetic, Jonathan Gennick
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 304
- Dostępne formaty:
-
ePubMobi
Opis książki: Transact-SQL Cookbook
This unique cookbook contains a wealth of solutions to problems that SQL programmers face all the time. The recipes inside range from how to perform simple tasks, like importing external data, to ways of handling issues that are more complicated, like set algebra. Authors Ales Spetic and Jonathan Gennick, two authorities with extensive database and SQL programming experience, include a discussion with each recipe to explain the logic and concepts underlying the solution.SQL (Structured Query Language) is the closest thing to a standard query language that currently exists, and Transact-SQL -- a full-featured programming language that dramatically extends the power of SQL -- is the procedural language of choice for both Microsoft SQL Server and Sybase SQL Server systems. The Transact-SQL Cookbook is designed so you can use the recipes directly, as a source of ideas, or as a way to learn a little more about SQL and what you can do with it. Topics covered include:
- Audit logging. In addition to recipes for implementing an audit log, this chapter also includes recipes for: improving performance where large log tables are involved; supporting multiple-languages; and simulating server push.
- Hierarchies. Recipes show you how to manipulate hierarchical data using Transact-SQL.
- Importing data. This chapter introduces concepts like normalization and recipes useful for working with imported data tables.
- Sets. Recipes demonstrate different operations, such as how to find common elements, summarize the data in a set, and find the element in a set that represents an extreme.
- Statistics. This chapter?s recipes show you how to effectively use SQL for common statistical operations from means and standard deviations to weighted moving averages.
- Temporal data. Recipes demonstrate how to construct queries against time-based data.
- Data Structures. This chapter shows how to manipulate data structures like stacks, queues, matrices, and arrays.
Wybrane bestsellery
-
To kolejne wydanie lubianego samouczka, dzięki któremu w ramach 24 godzinnych lekcji przyswoisz solidne podstawy programowania. Zrozumiesz, jak działają programy, i nauczysz się reguł stosowanych przez profesjonalistów przy ich projektowaniu. Dowiesz się, jak wygląda świat programistów i na czym ...
Programowanie dla początkujących w 24 godziny. Wydanie IV Programowanie dla początkujących w 24 godziny. Wydanie IV
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
Oto piąte, zaktualizowane wydanie świetnego podręcznika, dzięki któremu niemal bez wysiłku nauczysz się podstaw języka SQL. Książka została podzielona na 22 rozdziały ? lektura jednego z nich nie powinna Ci zająć więcej niż 10 minut. Najpierw pokazano, w jaki sposób dokonać prostego pobierania da...
SQL w mgnieniu oka. Opanuj język zapytań w 10 minut dziennie. Wydanie V SQL w mgnieniu oka. Opanuj język zapytań w 10 minut dziennie. Wydanie V
(0,00 zł najniższa cena z 30 dni)38.35 zł
59.00 zł(-35%) -
To trzecie, poprawione i zaktualizowane wydanie praktycznego przewodnika po języku SQL i relacyjnych bazach danych. Przemyślana, uporządkowana struktura podręcznika sprzyja sprawnemu nabywaniu wiedzy i doskonaleniu umiejętności — pracę z nim ułatwiają przystępny sposób prezentowania materia...(0,00 zł najniższa cena z 30 dni)
44.85 zł
69.00 zł(-35%) -
To książka przeznaczona dla osób, które dobrze poznały podstawy języka SQL i chcą nabrać biegłości w praktycznym zastosowaniu jego zaawansowanych funkcji. Poszczególne zagadnienia zostały zaprezentowane poprzez stopniową rozbudowę i zwiększanie złożoności prostych zapytań SQL. Omówiono takie tech...
Praktyczna nauka SQL dla Oracle. Wykorzystaj ogromne możliwości bazy danych Oracle Praktyczna nauka SQL dla Oracle. Wykorzystaj ogromne możliwości bazy danych Oracle
(0,00 zł najniższa cena z 30 dni)50.05 zł
77.00 zł(-35%) -
Cathy Tanimura jest analityczką danych z ponad dwudziestoletnim doświadczeniem. Odnosiła również sukcesy, budując zespoły do spraw analizy danych i tworząc potrzebną infrastrukturę. Zajmowała się także zarządzaniem zespołami w kilku czołowych firmach technologicznych. Od wielu lat używa języka SQ...
Analiza danych z wykorzystaniem SQL-a. Zaawansowane techniki przekształcania danych we wnioski Analiza danych z wykorzystaniem SQL-a. Zaawansowane techniki przekształcania danych we wnioski
(0,00 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
SQL to dziś właściwie jedyny poważny język używany do tworzenia i obsługi relacyjnych baz danych, niezależnie od tego, czy są to bazy Microsoftu, Oracle czy Sun Microsystems. I choć nie wszędzie działa dokładnie tak samo, bez jego znajomości nie ma co marzyć o swobodnym korzystaniu z bazy, nie mó...(0,00 zł najniższa cena z 30 dni)
38.94 zł
59.90 zł(-35%) -
Relacyjne bazy danych są wszędzie wokół nas, a do podstawowych umiejętności wymaganych od współczesnych programistów należy dobra znajomość języka SQL. Na świecie nie ma jednak osób, którym nie zdarza się czegoś zapomnieć. Jeśli potrzebujesz pomocy w codziennej pracy lub chcesz odświeżyć wiedzę n...(0,00 zł najniższa cena z 30 dni)
10.20 zł
17.00 zł(-40%) -
Data is at the center of many challenges in system design today. Difficult issues need to be figured out, such as scalability, consistency, reliability, efficiency, and maintainability. In addition, we have an overwhelming variety of tools, including relational databases, NoSQL datastores, stream...
Designing Data-Intensive Applications. The Big Ideas Behind Reliable, Scalable, and Maintainable Systems Designing Data-Intensive Applications. The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
(0,00 zł najniższa cena z 30 dni)203.15 zł
239.00 zł(-15%) -
W drugiej, bardziej zaawansowanej części szkolenia dominują dwa tematy dotyczące tworzenia zapytań: grupowanie danych i łączenie tabel. To zagadnienia trochę trudniejsze do zrozumienia i opanowania, nie martw się jednak - autor kursu przeprowadzi Cię przez nie tak przystępnie, jak to tylko możliw...
Naucz się SQL-a! Kurs video. 100 ćwiczeń z grupowania i łączenia tabel Naucz się SQL-a! Kurs video. 100 ćwiczeń z grupowania i łączenia tabel
(0,00 zł najniższa cena z 30 dni)80.55 zł
179.00 zł(-55%) -
Myślisz o pracy w IT? Może rozważasz wybór kierunku informatycznego na studiach? Chcesz zacząć programować, ale coś Cię powstrzymuje? Wiemy co - nie lubisz nabijać sobie głowy teorią! My też nie lubimy, dlatego poprosiliśmy autora tego kursu, by skoncentrował się na kwestiach czysto praktycznych....
Naucz się SQL-a! Kurs video. 70 ćwiczeń z podstaw tworzenia zapytań Naucz się SQL-a! Kurs video. 70 ćwiczeń z podstaw tworzenia zapytań
(0,00 zł najniższa cena z 30 dni)62.55 zł
139.00 zł(-55%)
Ales Spetic, Jonathan Gennick - pozostałe książki
-
Dzięki temu przewodnikowi będziesz miał zawsze na wyciągnięcie ręki kompletny zbiór informacji na temat języka SQL. Już nigdy więcej nie zaskoczą Cię niuanse jego składni. Błyskawicznie zapoznasz się z typami danych, sposobami wykonywania operacji na datach oraz dostępnymi funkcjami. Nauczysz się...(14.95 zł najniższa cena z 30 dni)
17.94 zł
29.90 zł(-40%) -
SQL is the language of databases. It's used to create and maintain database objects, place data into those objects, query the data, modify the data, and, finally, delete data that is no longer needed. Databases lie at the heart of many, if not most business applications. Chances are very good ...(46.74 zł najniższa cena z 30 dni)
46.74 zł
54.99 zł(-15%) -
Despite its wide availability and usage, few developers and DBAs have mastered the true power of Oracle SQLPlus. This bestselling book--now updated for Oracle 10g--is the only in-depth guide to this interactive query tool for writing SQL scripts. It's an essential resource for any Oracle user.The...
Oracle SQL*Plus: The Definitive Guide. The Definitive Guide. 2nd Edition Oracle SQL*Plus: The Definitive Guide. The Definitive Guide. 2nd Edition
(126.65 zł najniższa cena z 30 dni)126.65 zł
149.00 zł(-15%) -
The Oracle SQLPlus Pocket Reference is a must-have for anyone working with Oracle databases, especially those looking to maximize the effectiveness of SQLPlus. As Oracle's long-standing interactive query tool, SQLPlus is available at every Oracle site, from the largest data warehouse to the smal...
Oracle SQL*Plus Pocket Reference. A Guide to SQL*Plus Syntax. 3rd Edition Oracle SQL*Plus Pocket Reference. A Guide to SQL*Plus Syntax. 3rd Edition
(50.92 zł najniższa cena z 30 dni)50.92 zł
59.90 zł(-15%) -
Support for regular expressions in SQL and PL/SQL is one of the most exciting features of Oracle Database 10G. Oracle has long supported the ANSI-standard LIKE predicate for rudimentary pattern matching, but regular expressions take pattern matching to a new level. They provide a powerful way to...(33.92 zł najniższa cena z 30 dni)
33.92 zł
39.90 zł(-15%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-05-965-5203-9, 9780596552039
- Data wydania ebooka:
-
2002-03-19
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.5MB
- Rozmiar pliku Mobi:
- 5.9MB
- Kategorie:
Bazy danych » SQL - Programowanie
Spis treści książki
- Transact-SQL Cookbook
- Dedication
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Why We Wrote This Book
- Audience for This Book
- Which Platform and Version?
- Structure of This Book
- Conventions Used in This Book
- About the Code
- Comments and Questions
- Acknowledgments
- From Ales
- From Jonathan
- 1. Pivot Tables
- 1.1. Using a Pivot Table
- 1.1.1. Problem
- 1.1.2. Solution
- 1.1.3. Discussion
- 1.1. Using a Pivot Table
- 2. Sets
- 2.1. Introduction
- 2.1.1. Components
- 2.1.1.1. Sets
- 2.1.1.2. Elements
- 2.1.1.3. Universes
- 2.1.1. Components
- 2.1.2. Set Operations
- 2.1.2.1. Contains
- 2.1.2.2. Intersection
- 2.1.2.3. Union
- 2.1.2.4. Complement
- 2.1.2.5. Difference
- 2.1. Introduction
- 2.2. The Students Example
- 2.3. Implementing Set Difference
- 2.3.1. Problem
- 2.3.2. Solution
- 2.3.2.1. Subtracting one set from another
- 2.3.2.2. Subtracting one set from all others
- 2.3.3. Discussion
- 2.3.3.1. Subtracting one set from another
- 2.3.3.2. Subtracting one set from all others
- 2.3.3.3. Subtracting other sets from one
- 2.4. Comparing Two Sets for Equality
- 2.4.1. Problem
- 2.4.2. Solution
- 2.4.3. Discussion
- 2.5. Implementing Partial Intersection
- 2.5.1. Problem
- 2.5.2. Solution
- 2.5.3. Discussion
- 2.6. Implementing Full Intersection
- 2.6.1. Problem
- 2.6.2. Solution
- 2.6.3. Discussion
- 2.7. Classifying Subsets
- 2.7.1. Problem
- 2.7.2. Solution
- 2.7.3. Discussion
- 2.8. Summarizing Classes of Sets
- 2.8.1. Problem
- 2.8.2. Solution
- 2.8.3. Discussion
- 2.9. Aggregating Aggregates
- 2.9.1. Problem
- 2.9.2. Solution
- 2.9.3. Discussion
- 2.10. Summarizing Aggregated Classes
- 2.10.1. Problem
- 2.10.2. Solution
- 2.10.3. Discussion
- 2.11. Including Nonaggregated Columns
- 2.11.1. Problem
- 2.11.2. Solution
- 2.11.3. Discussion
- 2.12. Finding the Top N Values in a Set
- 2.12.1. Problem
- 2.12.2. Solution
- 2.12.3. Discussion
- 2.12.3.1. Using TOP
- 2.12.3.2. Using a self-join
- 2.13. Reporting the Size of a Sets Complement
- 2.13.1. Problem
- 2.13.2. Solution
- 2.13.3. Discussion
- 2.14. Finding the Complement of a Set
- 2.14.1. Problem
- 2.14.2. Solution
- 2.14.2.1. Step 1: Create the Pivot table
- 2.14.2.2. Step 2: Run the query
- 2.14.3. Discussion
- 2.15. Finding the Complement of a Missing Set
- 2.15.1. Problem
- 2.15.2. Solution
- 2.15.2.1. Solution 1: Define empty rows in the Students table
- 2.15.2.2. Solution 2: Create a student master table
- 2.15.3. Discussion
- 2.16. Finding Complements of Sets with Different Universes
- 2.16.1. Problem
- 2.16.2. Solution
- 2.16.3. Discussion
- 2.17. Comparing a Set with Its Universe
- 2.17.1. Problem
- 2.17.2. Solution
- 2.17.3. Discussion
- 2.18. Dynamic Classification System
- 2.18.1. Problem
- 2.18.2. Solution
- 2.18.2.1. Step 1: Creating the rules table
- 2.18.2.2. Step 2: Running the query
- 2.18.3. Discussion
- 2.18.3.1. The query
- 3. Data Structures
- 3.1. Types of Data Structures
- 3.1.1. Lists
- 3.1.1.1. Cumulative aggregation queries
- 3.1.1.2. Regions
- 3.1.1.3. Runs
- 3.1.1.4. Sequences
- 3.1.1. Lists
- 3.1.2. Stacks and Queues
- 3.1.2.1. Stacks
- 3.1.2.2. Queues
- 3.1.2.3. Priority queues
- 3.1. Types of Data Structures
- 3.1.3. Arrays and Matrices
- 3.1.3.1. Arrays
- 3.1.3.2. Matrices
- 3.2. Working Example
- 3.2.1. Linear Structures
- 3.2.2. Arrays
- 3.2.3. Matrices
- 3.3. Finding Regions
- 3.3.1. Problem
- 3.3.2. Solution
- 3.3.3. Discussion
- 3.4. Reporting Region Boundaries
- 3.4.1. Problem
- 3.4.2. Solution
- 3.4.3. Discussion
- 3.5. Limiting Region Size
- 3.5.1. Problem
- 3.5.2. Solution
- 3.5.3. Discussion
- 3.6. Ranking Regions by Size
- 3.6.1. Problem
- 3.6.2. Solution
- 3.6.3. Discussion
- 3.7. Working with Sequences
- 3.7.1. Problem
- 3.7.2. Solution
- 3.7.3. Discussion
- 3.8. Working with Runs
- 3.8.1. Problem
- 3.8.2. Solutions
- 3.8.3. Discussion
- 3.9. Cumulative Aggregates in Lists
- 3.9.1. Problem
- 3.9.2. Solution
- 3.9.3. Discussion
- 3.10. Implementing a Stack
- 3.10.1. Problem
- 3.10.2. Solution
- 3.10.2.1. TOP function in SQL
- 3.10.2.2. POP function in SQL
- 3.10.2.3. PUSH function in SQL
- 3.10.3. Discussion
- 3.11. Implementing Queues
- 3.11.1. Problem
- 3.11.2. Solution
- 3.11.2.1. TOP function in SQL
- 3.11.2.2. DEQUEUE function in SQL
- 3.11.2.3. ENQUEUE function in SQL
- 3.11.3. Discussion
- 3.12. Implementing Priority Queues
- 3.12.1. Problem
- 3.12.2. Solution
- 3.12.2.1. TOP function in SQL
- 3.12.2.2. DEQUEUE function in SQL
- 3.12.2.3. ENQUEUE function in SQL
- 3.12.3. Discussion
- 3.13. Comparing Two Rows in an Array
- 3.13.1. Problem
- 3.13.2. Solution
- 3.13.3. Discussion
- 3.14. Printing Matrices and Arrays
- 3.14.1. Problem
- 3.14.2. Solution
- 3.14.3. Discussion
- 3.15. Transposing a Matrix
- 3.15.1. Problem
- 3.15.2. Solution
- 3.15.3. Discussion
- 3.16. Calculating a Matrix Trace
- 3.16.1. Problem
- 3.16.2. Solution
- 3.16.3. Discussion
- 3.17. Comparing Two Matrices for Size
- 3.17.1. Problem
- 3.17.2. Solution
- 3.17.3. Discussion
- 3.18. Adding and Subtracting Matrices
- 3.18.1. Problem
- 3.18.2. Solution
- 3.18.3. Discussion
- 3.19. Multiplying Matrices
- 3.19.1. Problem
- 3.19.2. Solution
- 3.19.2.1. Multiplying a matrix by a scalar value
- 3.19.2.2. Multiplying a matrix with a vector
- 3.19.2.3. Multiplying two matrices
- 3.19.3. Discussion
- 3.19.3.1. Multiplying by a scalar
- 3.19.3.2. Multiplying by a vector
- 3.19.3.3. Multiplying by a matrix
- 3.19.3.4. Squaring a matrix
- 4. Hierarchies in SQL
- 4.1. Types of Hierarchies
- 4.1.1. Specialized Hierarchies
- 4.1.2. General Hierarchies
- 4.1. Types of Hierarchies
- 4.2. Creating a Permission Hierarchy
- 4.2.1. Problem
- 4.2.2. Solution
- 4.2.3. Discussion
- 4.2.3.1. Checking permissions for a trader
- 4.2.3.2. Revoking permissions for a group
- 4.3. Changing Individual Permissions
- 4.3.1. Problem
- 4.3.2. Solution
- 4.3.3. Discussion
- 4.4. Adding New Individual Permissions
- 4.4.1. Problem
- 4.4.2. Solution
- 4.4.3. Discussion
- 4.5. Centralizing Authorization Logic
- 4.5.1. Problem
- 4.5.2. Solution
- 4.5.3. Discussion
- 4.6. Implementing General Hierarchies
- 4.6.1. Problem
- 4.6.2. Solution
- 4.6.2.1. List all leaf nodes
- 4.6.2.2. List all nodes that are not leaf nodes
- 4.6.2.3. Find the most expensive vertices
- 4.6.2.4. Find the immediate children of a node
- 4.6.2.5. Find the root
- 4.6.3. Discussion
- 4.7. Traversing Hierarchies Recursively
- 4.7.1. Problem
- 4.7.2. Solution
- 4.7.3. Discussion
- 4.8. Manipulating Hierarchies Recursively
- 4.8.1. Problem
- 4.8.2. Solution
- 4.8.3. Discussion
- 4.9. Aggregating Hierarchies
- 4.9.1. Problem
- 4.9.2. Solution
- 4.9.3. Discussion
- 4.10. Preparing Multilevel Operations
- 4.10.1. Problem
- 4.10.2. Solution
- 4.10.3. Discussion
- 4.11. Aggregating Hierarchies Revised
- 4.11.1. Problem
- 4.11.2. Solution
- 4.11.3. Discussion
- 5. Temporal Data
- 5.1. Introduction
- 5.1.1. Granularity
- 5.1.2. Temporal Datatypes in Transact-SQL
- 5.1.3. Date and Time Input
- 5.1.4. Temporal Types
- 5.1.4.1. Instants
- 5.1.4.2. Duration
- 5.1.4.3. Periods
- 5.1. Introduction
- 5.2. The Schedules Example
- 5.3. Enforcing Granularity Rules
- 5.3.1. Problem
- 5.3.2. Solution
- 5.3.3. Discussion
- 5.4. Storing Out-of-Range Temporal Values
- 5.4.1. Problem
- 5.4.2. Solution
- 5.4.3. Discussion
- 5.5. Deriving the First and Last Dates of the Month
- 5.5.1. Problem
- 5.5.2. Solution
- 5.5.3. Discussion
- 5.6. Printing Calendars
- 5.6.1. Problem
- 5.6.2. Solution
- 5.6.3. Discussion
- 5.7. Calculating Durations
- 5.7.1. Problem
- 5.7.2. Solution
- 5.7.3. Discussion
- 5.8. Reporting Durations
- 5.8.1. Problem
- 5.8.2. Solution
- 5.8.3. Discussion
- 5.9. Querying Periods
- 5.9.1. Problem
- 5.9.2. Solution
- 5.9.3. Discussion
- 5.10. Querying Periods and Respecting Granularity
- 5.10.1. Problem
- 5.10.2. Solution
- 5.10.3. Discussion
- 5.11. Finding Available Periods
- 5.11.1. Problem
- 5.11.2. Solution
- 5.11.3. Discussion
- 5.12. Finding Common Available Periods
- 5.12.1. Problem
- 5.12.2. Solution
- 5.12.3. Discussion
- 5.13. Excluding Recurrent Events
- 5.13.1. Problem
- 5.13.2. Solution
- 5.13.3. Discussion
- 5.14. Excluding Nonrecurring Events
- 5.14.1. Problem
- 5.14.2. Solution
- 5.14.3. Discussion
- 5.15. Finding Continuous Periods
- 5.15.1. Problem
- 5.15.2. Solution
- 5.15.3. Discussion
- 5.16. Using Calendar Information with Periods
- 5.16.1. Problem
- 5.16.2. Solution
- 5.16.3. Discussion
- 5.17. Using Calendar Information with Durations
- 5.17.1. Problems
- 5.17.2. Solution
- 5.17.3. Discussion
- 6. Audit Logging
- 6.1. Audit Logs
- 6.1.1. Your Objectives for an Audit Log
- 6.1.2. Row-Level Versus Activity Logging
- 6.1.3. Database Tables Versus Operating System Files
- 6.1.4. Storage Units
- 6.1.5. Global Versus Local Logs
- 6.1. Audit Logs
- 6.2. The Warehouse Example
- 6.3. Row-Level Logging
- 6.3.1. Problem
- 6.3.2. Solution
- 6.3.3. Discussion
- 6.3.3.1. Log table structure
- 6.3.3.2. Log triggers
- 6.4. Reporting Log Events
- 6.4.1. Problem
- 6.4.2. Solution
- 6.4.3. Discussion
- 6.5. Generating Current Snapshots
- 6.5.1. Problem
- 6.5.2. Solution
- 6.5.3. Discussion
- 6.6. Generating Time-Restricted Snapshots
- 6.6.1. Problem
- 6.6.2. Solution
- 6.6.3. Discussion
- 6.7. Undoing Table Changes
- 6.7.1. Problem
- 6.7.2. Solution
- 6.7.3. Discussion
- 6.8. Minimizing Audit-Log Space Consumption
- 6.8.1. Problem
- 6.8.2. Solution
- 6.8.2.1. Step 1: Create the audit table
- 6.8.2.2. Step 2: Implement the audit triggers
- 6.8.3. Discussion
- 6.8.3.1. Snapshot generation
- 6.8.3.2. Deleted records
- 6.8.3.3. Dealing with NULL values
- 6.9. Online Account Balancing
- 6.9.1. Problem
- 6.9.2. Solution
- 6.9.3. Discussion
- 6.10. Activity-Level Logging
- 6.10.1. Problem
- 6.10.2. Solution
- 6.10.2.1. Step 1: Create a global log table
- 6.10.2.2. Step 2: Create an event master table
- 6.10.2.3. Step 3: Create a global severity-limit variable
- 6.10.2.4. Step 4: Create a stored procedure to log events
- 6.10.3. Discussion
- 6.10.3.1. Defining severity levels
- 6.10.3.2. Extending error messages
- 6.10.3.3. Reporting
- 6.11. Partitioning Large Log Tables
- 6.11.1. Problem
- 6.11.2. Solution
- 6.11.3. Discussion
- 6.12. Server Push
- 6.12.1. Problem
- 6.12.2. Solution
- 6.12.3. Discussion
- 6.12.3.1. Ticketing
- 6.12.3.2. Polling as an alternative to triggers
- 6.12.3.3. Client stability
- 6.12.3.4. Support for multiple tables
- 7. Importing and Transforming Data
- 7.1. Considerations When Importing Data
- 7.1.1. Bulk Importing
- 7.1.2. Normalized Data
- 7.1.2.1. Eliminate repeating columns
- 7.1.2.2. Factor out dependent columns
- 7.1.2.3. Reduced memory requirements
- 7.1.3. Master/Detail Framework
- 7.1.4. Duplicates
- 7.1.4.1. Counting duplicates
- 7.1. Considerations When Importing Data
- 7.2. Working Examples
- 7.2.1. Bookstore
- 7.2.2. Rankings
- 7.2.3. Scores
- 7.2.4. Dissertations
- 7.3. Importing External Data
- 7.3.1. Problem
- 7.3.2. Solution
- 7.3.2.1. Step 1: Make sure that the data to be imported is in an ASCII file
- 7.3.2.2. Step 2: Filter the data for obvious inconsistencies
- 7.3.2.3. Step 3: Import the data into your database
- 7.3.2.4. Step 4: Check for errors
- 7.3.3. Discussion
- 7.4. Importing Data into a Live System
- 7.4.1. Problem
- 7.4.2. Solution
- 7.4.2.1. Step 1: Create buffer tables
- 7.4.2.2. Step 2: Build validation procedures
- 7.4.2.3. Step 3: Insert rows
- 7.4.2.4. Step 4: Check for rejected data
- 7.4.3. Discussion
- 7.5. Importing with a Single Procedure
- 7.5.1. Problem
- 7.5.2. Solution
- 7.5.3. Discussion
- 7.6. Hiding the Import Procedure
- 7.6.1. Problem
- 7.6.2. Solution
- 7.6.3. Discussion
- 7.7. Folding Tables
- 7.7.1. Problem
- 7.7.2. Solution
- 7.7.2.1. Using a union query to fold data
- 7.7.2.2. Using a self-join to fold data
- 7.7.2.3. Using the Pivot table to fold data
- 7.7.3. Discussion
- 7.8. Pivoting Tables
- 7.8.1. Problem
- 7.8.2. Solution
- 7.8.2.1. Step 1: Identifying key items
- 7.8.2.2. Step 2: Writing the query
- 7.8.2.3. Step 3: Run the query
- 7.8.3. Discussion
- 7.9. Joining Arrays with Tables
- 7.9.1. Problem
- 7.9.2. Solution
- 7.9.3. Discussion
- 7.10. Joining Arrays with Master Tables
- 7.10.1. Problem
- 7.10.2. Solution
- 7.10.3. Discussion
- 7.11. Joining Arrays with Multiple Master Records
- 7.11.1. Problem
- 7.11.2. Solution
- 7.11.3. Discussion
- 7.12. Extracting Master Records from Tables
- 7.12.1. Problem
- 7.12.2. Solution
- 7.12.2.1. Step 1: Creating the new master table
- 7.12.2.2. Step 2: Extracting master record values
- 7.12.2.3. Step 3: Creating the new fact table
- 7.12.2.4. Step 4: Populating the new fact table
- 7.12.3. Discussion
- 7.13. Generating Master Records Online
- 7.13.1. Problem
- 7.13.2. Solution
- 7.13.2.1. Step 1: Setting up the tables
- 7.13.2.2. Step 2: Creating the INSERT substitute
- 7.13.2.3. Step 3: Supporting the SELECT statement
- 7.13.2.4. Step 4: Supporting the UPDATE statement
- 7.13.2.5. Step 5: Supporting the DELETE statement
- 7.13.3. Discussion
- 7.13.3.1. The INSERT trigger
- 7.13.3.2. The UPDATE trigger
- 7.14. Working with Duplicates
- 7.14.1. Problem
- 7.14.2. Solution
- 7.14.2.1. Reduction
- 7.14.2.2. Selective reduction
- 7.14.2.3. Selecting duplicates
- 7.14.2.4. Counting occurrences
- 7.14.2.5. Selecting by number of occurrences
- 7.14.2.6. Selecting nonduplicates
- 7.14.2.7. Selecting duplicates with an odd occurrence count
- 7.14.2.8. Selecting duplicates with an even occurrence count
- 7.14.2.9. Deleting duplicate rows
- 7.14.2.10. Preventing duplicates
- 7.14.3. Discussion
- 8. Statistics in SQL
- 8.1. Statistical Concepts
- 8.1.1. Mean
- 8.1.2. Mode
- 8.1.3. Median
- 8.1.4. Standard Deviation and Variance
- 8.1.5. Standard Error
- 8.1.6. Confidence Intervals
- 8.1.6.1. Creating the t-distribution table
- 8.1.6.2. Calculating the confidence interval
- 8.1.7. Correlation
- 8.1.8. Autocorrelation
- 8.1.9. Moving Averages
- 8.1. Statistical Concepts
- 8.2. The Light-Bulb Factory Example
- 8.2.1. Bulb-Life Data
- 8.2.2. Sales Data
- 8.3. Calculating a Mean
- 8.3.1. Problem
- 8.3.2. Solution
- 8.3.3. Discussion
- 8.4. Calculating a Mode
- 8.4.1. Problem
- 8.4.2. Solution
- 8.4.3. Discussion
- 8.5. Calculating a Median
- 8.5.1. Problem
- 8.5.2. Solution
- 8.5.3. Discussion
- 8.6. Calculating Standard Deviation, Variance, and Standard Error
- 8.6.1. Problem
- 8.6.2. Solution
- 8.6.3. Discussion
- 8.7. Building Confidence Intervals
- 8.7.1. Problem
- 8.7.2. Solution
- 8.7.3. Discussion
- 8.8. Calculating Correlation
- 8.8.1. Problem
- 8.8.2. Solution
- 8.8.3. Discussion
- 8.9. Exploring Patterns with Autocorrelation
- 8.9.1. Problem
- 8.9.2. Solution
- 8.9.3. Discussion
- 8.10. Using a Simple Moving Average
- 8.10.1. Problem
- 8.10.2. Solution
- 8.10.3. Discussion
- 8.11. Extending Moving Averages
- 8.11.1. Problem
- 8.11.2. Solution
- 8.11.3. Discussion
- A. The T-Distribution Table
- About the Authors
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Copyright
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
296.65 zł
349.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Transact-SQL Cookbook Ales Spetic, Jonathan Gennick (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.