Transact-SQL Cookbook; Audience for This Book; Which Platform and Version?; Structure of This Book; Conventions Used in
665 30 694KB
English Pages 304 pages Year 2009;2002
Table of contents :
Transact-SQL Cookbook
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 Jonathan
1. Pivot Tables
1.1.2. Solution
1.1.3. Discussion
2. Sets
2.1.1.2. Elements
2.1.1.3. Universes
2.1.2. Set Operations
2.1.2.2. Intersection
2.1.2.3. Union
2.1.2.4. Complement
2.1.2.5. Difference
2.2. The Students Example
2.3. Implementing Set Difference
2.3.2. Solution
2.3.2.2. Subtracting one set from all others
2.3.3. Discussion
2.3.3.2. Subtracting one set from all others. 2.3.3.3. Subtracting other sets from one2.4. Comparing Two Sets for Equality
2.4.2. Solution
2.4.3. Discussion
2.5. Implementing Partial Intersection
2.5.2. Solution
2.5.3. Discussion
2.6. Implementing Full Intersection
2.6.2. Solution
2.6.3. Discussion
2.7. Classifying Subsets
2.7.2. Solution
2.7.3. Discussion
2.8. Summarizing Classes of Sets
2.8.2. Solution
2.8.3. Discussion
2.9. Aggregating Aggregates
2.9.2. Solution
2.9.