xviii
ftoc.indd xviiiftoc.indd xviii 7/31/2012 10:33:45 AM7/31/2012 10:33:45 AM
- Part I: Laying the Foundations Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
- Chapter 1: The World of SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- SQL Server History
- SQL Server in the Database Market
- SQL Server Components
- Editions of SQL Server
- Notable SQL Server 2012 Enhancements
- Summary
- Chapter 2: Data Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Information Architecture Principle
- Database Objectives
- Smart Database Design
- Summary
- Chapter 3: Installing SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Preparing the Server
- Selecting the Edition
- The Installation Process
- Summary
- Chapter 4: Client Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Enabling Server Connectivity
- SQL Server Native Client Features ..........................................................................
- Summary
- Chapter 5: SQL Server Management and Development Tools . . . . . . . . . . . . . . . . . . . . . .
- Organizing the Interface
- Registered Servers
- Object Explorer
- Using the Query Editor
- Using the Solution Explorer ................................................................................
- Getting a Jumpstart on Code with Templates and Code Snippets ............................
- Summary ...........................................................................................................
- ftoc July 24, 2012 8:28 PM V Contents
- Part II: Building Databases and Working with Data Contents
- Chapter 6: Introducing Basic Query Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Understanding Query Flow
- FROM Clause Data Sources
- WHERE Conditions .............................................................................................
- (0 row(s) affected)Columns, Stars, Aliases, and Expressions ...................................
- Ordering the Result Set ......................................................................................
- Select Distinct ...................................................................................................
- TOP () ...............................................................................................................
- Summary ...........................................................................................................
- Database Schema . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 7: Relational Database Design and Creating the Physical
- Database Basics .................................................................................................
- Data Design Patterns ..........................................................................................
- Normal Forms ....................................................................................................
- Strategy Considerations
- Summary
- Chapter 8: Data Types, Expressions, and Scalar Functions . . . . . . . . . . . . . . . . . . . . . . .
- Data Types .........................................................................................................
- Building Expressions ..........................................................................................
- Scalar Functions ................................................................................................
- String Functions ................................................................................................
- Soundex Functions .............................................................................................
- Data-Type Conversion Functions ..........................................................................
- Server Environment Information .........................................................................
- Summary
- Chapter 9: Merging Data with Joins, Subqueries, and CTEs . . . . . . . . . . . . . . . . . . . . . .
- Using Joins........................................................................................................
- Set Difference Queries ........................................................................................
- Using Unions .....................................................................................................
- Subqueries ........................................................................................................
- Summary
- Chapter 10: Aggregating, Windowing, and Ranking Data . . . . . . . . . . . . . . . . . . . . . . . .
- Aggregating Data ...............................................................................................
- Grouping Within a Result Set ..............................................................................
- Windowing and Ranking .....................................................................................
- Ranking Functions .............................................................................................
- Summary ...........................................................................................................
- Chapter 11: Projecting Data Through Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
- Why Use Views? .................................................................................................
- The Basic View
- ftoc July 24, 2012 8:28 PM V