Book description
Extend your programming skills with a comprehensive study of the key features of SQL Server 2008. Delve into the new core capabilities, get practical guidance from expert developers, and put their code samples to work. This is a must-read for Microsoft .NET and SQL Server developers who work with data access—at the database, business logic, or presentation levels.
Discover how to:
Query complex data with powerful Transact-SQL enhancements
Use new, non-relational features: hierarchical tables, native file streaming, and geospatial capabilities
Exploit XML inside the database to design XML-aware applications
Consume and deliver your data using Microsoft LINQ, Entity Framework, and data binding
Implement database-level encryption and server auditing
Build and maintain data warehouses
Use Microsoft Excel to build front ends for OLAP cubes, and MDX to query them
Integrate data mining into applications quickly and effectively.
Get code samples on the Web.
Table of contents
- Programming Microsoft® SQL Server™ 2008
- Acknowledgments
- Introduction
-
I. Core Fundamentals
- 1. Overview
-
2. T-SQL Enhancements
- Common Table Expressions
- The PIVOT and UNPIVOT Operators
- TOP Enhancements
- Ranking Functions
- Exception Handling in Transactions
- The varchar(max) Data Type
- The WAITFOR Statement
- DDL Triggers
- SNAPSHOT Isolation
- Table-Valued Parameters
- New Date and Time Data Types
- The MERGE Statement
- The INSERT OVER DML Syntax
- The GROUPING SETS Operator
- New T-SQL Shorthand Syntax
- Summary
-
3. Exploring SQL CLR
- Getting Started: Enabling CLR Integration
- Visual Studio/SQL Server Integration
- Your First SQL CLR Stored Procedure
- CLR Stored Procedures and Server-Side Data Access
- Deployment
- CLR Functions
- CLR Triggers
- CLR Aggregates
- SQL CLR Types
- Security
- Examining and Managing SQL CLR Types in a Database
- Best Practices for SQL CLR Usage
- Summary
- 4. Server Management
-
5. Security in SQL Server 2008
- Four Themes of the Security Framework
- SQL Server 2008 Security Overview
- Authentication and Authorization
- Encryption Support in SQL Server
- Transparent Data Encryption in SQL Server 2008
- SQL Server Audit
- How Hackers Attack SQL Server
- Summary
-
II. Beyond Relational
- 6. XML and the Relational Database
- 7. Hierarchical Data and the Relational Database
- 8. Using FILESTREAM for Unstructured Data Storage
- 9. Geospatial Data Types
-
III. Reach Technologies
-
10. The Microsoft Data Access Machine
- ADO.NET and Typed DataSets
- “Pure” ADO.NET: Working in Code
- LINQ: A New Syntactic Approach to Data Access
- LINQ to SQL and the ADO.NET Entity Framework: ORM Comes to .NET
- Web Services for Data: Using ADO.NET Data Services Against EF Models
- Data as a Hosted Service: SQL Server Data Services
- Summary: So Many Tools, So Little Time
- 11. The Many Facets of .NET Data Binding
-
12. Transactions
- What Is a Transaction?
- Local Transaction Support in SQL Server 2008
- Transaction Terminology
- Isolation Levels
- Distributed Transactions
- Transactions in SQL CLR (CLR Integration)
- Putting It All Together
- Summary
-
13. Developing Occasionally Connected Systems
- Comparing Sync Services with Merge Replication
- Components of an Occasionally Connected System
- Merge Replication
- Sync Services for ADO.NET
- Summary
-
10. The Microsoft Data Access Machine
-
IV. Business Intelligence
- 14. Data Warehousing
- 15. Basic OLAP
-
16. Advanced OLAP
- What We’ll Cover in This Chapter
- Advanced Dimensions and Measures
- Server Time Dimensions
- Calculations
- Key Performance Indicators
- Actions
- Partitions, Storage Settings, and Proactive Caching
- Aggregations
- Perspectives
- Translations
- Roles
- Summary
-
17. OLAP Queries, Tools, and Application Development
- Using Excel
- Beyond Excel: Custom OLAP Development with .NET
- Summary
-
18. Expanding Your Business Intelligence with Data Mining
- Why Mine Your Data?
- SQL Server 2008 Data Mining Enhancements
- Getting Started
- Using the Data Mining Wizard and Data Mining Structure Designer
- Using Data Mining Extensions
-
Data Mining Applied
- Data Mining and API Programming
- Using the Windows Forms Model Content Browser Controls
- Executing Prediction Queries with ADO MD.NET
- Model Content Queries
- ADO MD.NET and ASP.NET
- Using the Data Mining Web Controls
- Developing Managed Stored Procedures
- XMLA and Data Mining
- Data Mining Add-ins for Excel 2007
- Summary
-
19. Reporting Services
- Using the Report Designer
- Delivering Reports
- Administering Reporting Services
- Summary
- A. About the Authors
- B. Additional Resources for Developers from Microsoft Press
- C. More Great Developer Resources
- Index
- About the Authors
- Copyright
Product information
- Title: Programming Microsoft® SQL Server™ 2008
- Author(s):
- Release date: October 2008
- Publisher(s): Microsoft Press
- ISBN: 9780735625990
You might also like
book
Programming Microsoft® SQL Server® 2012
Your essential guide to key programming features in Microsoft SQL Server 2012 Take your database programming …
book
Microsoft® SQL Server® 2008 Internals
Delve inside the core SQL Server engine—and put that knowledge to work—with guidance from a team …
book
Inside Microsoft® SQL Server™ 2005
A comprehensive, hands-on reference for database developers and administrators, this book focuses on advanced language features …
book
Microsoft® SQL Server® 2008 Bible
Harness the power of SQL Server, Microsoft’s high-performance database and data analysis software package, by accesing …