Book description
Your essential guide to key programming features in Microsoft SQL Server 2012
Take your database programming skills to a new level—and build customized applications using the developer tools introduced with SQL Server 2012. This hands-on reference shows you how to design, test, and deploy SQL Server databases through tutorials, practical examples, and code samples. If you’re an experienced SQL Server developer, this book is a must-read for learning how to design and build effective SQL Server 2012 applications.
Discover how to:
Build and deploy databases using the SQL Server Data Tools IDE
Query and manipulate complex data with powerful Transact-SQL enhancements
Integrate non-relational features, including native file streaming and geospatial data types
Consume data with Microsoft ADO.NET, LINQ, and Entity Framework
Deliver data using Windows Communication Foundation (WCF) Data Services and WCF RIA Services
Move your database to the cloud with Windows Azure SQL Database
Develop Windows Phone cloud applications using SQL Data Sync
Use SQL Server BI components, including xVelocity in-memory technologies
Table of contents
- Programming Microsoft® SQL Server® 2012
- Dedication
-
Introduction
- How Significant Is the SQL Server 2012 Release?
- Who Should Read This Book
- Who Should Not Read This Book
- Organization of This Book
- Conventions and Features in This Book
- System Requirements
- Installing SQL Server Data Tools
- Using the Book’s Companion Website
- Errata & Book Support
- We Want to Hear from You
- Stay in Touch
- Acknowledgements
-
I. Core SQL Server Development
-
1. Introducing SQL Server Data Tools
- Introducing SSDT
-
Working with SSDT
- Connecting with SQL Server Object Explorer
- Gathering New Requirements
- Using the Table Designer (Connected)
- Working Offline with a SQL Server Database Project
- Taking a Snapshot
- Using the Table Designer (Offline Database Project)
- Introducing LocalDB
- Refactoring the Database
- Testing and Debugging
- Comparing Schemas
- Publishing to SQL Azure
- Adopting SSDT
- Summary
- 2. T-SQL Enhancements
-
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 CLR Types in a Database
- Best Practices for SQL CLR Usage
- Summary
-
4. Working with Transactions
- What Is a Transaction?
- Local Transaction Support in SQL Server
- Isolation Levels
- Distributed Transactions
- Transactions in SQL CLR (CLR Integration)
- Putting It All Together
- Summary
-
5. SQL Server Security
- Four Themes of the Security Framework
- SQL Server Security Overview
- Authentication and Authorization
- Encryption Support
- SQL Server Audit
- Partially Contained Databases
- How Hackers Attack SQL Server
- Summary
-
1. Introducing SQL Server Data Tools
-
II. Going Beyond Relational
- 6. XML and the Relational Database
- 7. Hierarchical Data and the Relational Database
-
8. Native File Streaming
- Traditional BLOB Strategies
- Introducing FILESTREAM
- Enabling FILESTREAM
- Creating a FILESTREAM-Enabled Database
- Storing and Retrieving FILESTREAM Data
- Deleting FILESTREAM Data
- Direct Streaming in .NET with SqlFileStream
- FILESTREAM Limitations and Considerations
- Introducing FileTable
- Searching Documents
- Summary
- 9. Geospatial Support
-
III. Applied SQL
-
10. The Microsoft Data Access Juggernaut
- .NET Data Access Evolution
- Preparing the Sample Database
- Monitoring Database Activity with SQL Server Profiler
- Conventional ADO.NET
- Language-Integrated Query (LINQ)
-
Object Relational Modeling (ORM) Comes to .NET
- Multiple ORM Offerings from Redmond
- LINQ to SQL: Then and Now
-
Entity Framework: Now and in the Future
- Building an Entity Data Model (EDM)
- Using LINQ to Entities
- Mapping Stored Procedures to the EDM
- Saving Entity Changes
- Object Context Lazy Loading and Change Tracking
- The EF n-Tier Challenge
- Resolving Impedance Mismatch
- Working with Many-to-Many Relationships
- Exploring the Entity SQL Alternative
- Working with EntityClient
- Summary
-
11. WCF Data Access Technologies
- Defining Services
- WCF Data Access Options
- WCF Data Services
- WCF RIA Services
- Making the Right WCF Data Access Choice
- Summary
- 12. Moving to the Cloud with SQL Azure
- 13. SQL Azure Data Sync and Windows Phone 7 Development
-
14. Pervasive Insight
- The Microsoft BI Stack: What’s It All About?
- Master Data Services
- Data Quality Services
- Integration Services
- SQL Server RDBMS, Fast Track DW, and SQL Server PDW
- Analysis Services
- Power View
- Reporting Services
- Excel and Excel Services
- PerformancePoint Services
- StreamInsight
- SQL Server Editions and SharePoint Version Requirements
- Summary
-
15. xVelocity In-Memory Technologies
- Column Store Databases
- xVelocity in the RDBMS: Columnstore Indexes
- xVelocity for Analysis: PowerPivot and SSAS Tabular Models
- Welcome Back to VertiPaq
- Summary
-
10. The Microsoft Data Access Juggernaut
- A. About the Authors
- Index
- About the Authors
- Copyright
Product information
- Title: Programming Microsoft® SQL Server® 2012
- Author(s):
- Release date: July 2012
- Publisher(s): Microsoft Press
- ISBN: 9780735671706
You might also like
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Professional C# and .NET, 2021st Edition
Get the latest coverage of the newest features in C#9 and .NET 5 In Professional C# …
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …