Itzik Ben-Gan is medeoprichter van SolidQ, een bedrijf voor technische educatie, en Microsoft SQL Server MVP. Wereldwijd erkend voor zijn trainingssessies en geschriften, richt hij zich op T-SQL query's, tuning en programmeren. Zijn expertise ligt in geavanceerde technieken voor het bereiken van topprestaties van databases. Ben-Gans cursussen en boeken worden hoog gewaardeerd om hun diepgang en praktische toepasbaarheid.
Students will master the fundamentals of Transact-SQL--and develop their own code for querying and modifying data in Microsoft SQL Server 2016. Led by a SQL Server expert, readers learn the concepts behind T-SQL querying and programming, and then apply their knowledge with exercises in each chapter. Once students understand the logic behind T-SQL, they'll quickly learn how to write effective code.
Tackle the toughest set-based querying and query tuning problems—guided by an author team with in-depth, inside knowledge of T-SQL. Deepen your understanding of architecture and internals—and gain practical approaches and advanced techniques to optimize your code’s performance.Discover how to:- Move from procedural programming to the language of sets and logic- Optimize query tuning with a top-down methodology- Assess algorithmic complexity to predict performance- Compare data-aggregation techniques, including new grouping sets- Manage data modification—insert, delete, update, merge—for performance- Write more efficient queries against partitioned tables- Work with graphs, trees, hierarchies, and recursive queries- Plus—Use pure-logic puzzles to sharpen your problem-solving skills
Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database developers and administrators get best practices, expert techniques, and code samples to master the intricacies of this programming language—solving complex problems with real-world solutions. Discover how All the book’s code samples will be available for download from the companion Web site.
This essential reference is designed for database developers and administrators who need to write queries and develop code using Transact-SQL (T-SQL), the Microsoft implementation of the standard SQL language. Guided by SQL Server guru Itzik Ben-Gan, you'll walk through the steps for writing queries, including retrieving and modifying data, with an overview of programmable objects supported by SQL Server 2008. Rather than focusing just on the syntactical elements of T-SQL, however, this book explains the logic behind the language -- helping you develop a true, core understanding of the elements and how to use them. You will learn to think in terms of sets, and follow real-world best practices for T-SQL programming.To complement the learning experience, the book provides exercises to practice and apply what you've learned. And you'll examine recommended solutions to compare with your own work.
Led by a T-SQL expert, readers learn how to perform calculations against sets of rows in a database--in a flexible, clear, and efficient manner and find practical uses for various T-SQL window functions for common business tasks.
Take a detailed look at the internal architecture of T-SQL--and unveil the power of set-based querying--with comprehensive reference and advice from the experts. Database developers and administrators get best practices, sample databases, and code to master the intricacies of the programming language--solving complex problems with real-world solutions. Discover how to: Understand logical and physical query processing Apply a methodology to optimize query tuning Solve relational division problems Use CTEs and ranking functions to simplify and optimize solutions Aggregate data with various techniques, including tiebreakers, pivoting, histograms, and grouping factors Use the TOP option in a query to modify data Query specialized data structures with recursive logic, materialized path, or nested sets solutions PLUS--Improve your logic and get to the heart of querying problems with logic puzzles Get code and database samples on the Web
"Most T-SQL developers recognize the value of window functions for data analysis calculations. But they can do far more, and recent optimizations make them even more powerful. In T-SQL Window Functions, renowned T-SQL expert Itzik Ben-Gan introduces breakthrough techniques for using them to handle many common T-SQL querying tasks with unprecedented elegance and power. Using extensive code examples, he guides you through window aggregate, ranking, distribution, offset, and ordered set functions. You'll find a detailed section on optimization, plus an extensive collection of business solutions -- including novel techniques available in no other book."--provided by publisher.
Skuteczne zapytania i modyfikowanie danych przy użyciu Transact-SQLOpanuj
podstawy języka T-SQL i pisz niezawodny kod dla Microsoft SQL Server i Azure
SQL Database. Itzik Ben-Gan wyjaśnia kluczowe koncepcje języka T-SQL i pomaga
w wykorzystaniu tej wiedzy w praktycznych zastosowaniach. Książka przedstawia
zasady działania T-SQL i logikę działającą w tle. Następnie prowadzi
czytelnika poprzez kluczowe zagadnienia, takie jak zapytania jednotabelowe,
złączenia, podzapytania, wyrażenia tablicowe i operatory zbiorów. Dalej
książka przedstawia bardziej zaawansowane zagadnienia, takie jak funkcje okna,
tworzenie tabel przestawnych i grupowanie zbiorów. Wyjaśnione zostaną również
techniki modyfikowania danych, pracy z tabelami tymczasowymi i obsługa
transakcji, a także przegląd obiektów programowalnych.Itzik Ben-Gan, MVP w
dziedzinie Microsoft Data Platform, przedstawia:• Podstawowe koncepcje SQL i
jego matematyczne korzenie• Tworzenie tabel i wymuszanie integralności danych•
Wykonywanie efektywnych zapytań przy użyciu wyrażenia SELECT• Odpytywanie
wielu tabel przy użyciu złączeń, podzapytań, wyrażeń tablicowych i operatorów
zbiorów• Stosowanie zaawansowanych technik, takich jak funkcje okna, tabele
przestawne i grupowanie zbiorów• Wstawianie, aktualizowanie, usuwanie i
scalanie danych• Korzystanie z transakcji w wielodostępnym środowisku•
Wprowadzenie do obiektów programowalnych – od zmiennych i plików wsadowych po
funkcje definiowane przez użytkownika, procedury składowane, wyzwalacze i
dynamiczny kod SQL