Beginning SQL Server for Developers, Fourth Edition
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Book description
Beginning SQL Server for Developers is the perfect book for developers new to SQL Server and planning to create and deploy applications against Microsoft’s market-leading database system for the Windows platform. Now in its fourth edition, the book is enhanced to cover the very latest developments in SQL Server, including the in-memory features that are introduced in SQL Server 2014.
Within the book, there are plenty of examples of tasks that developers routinely perform. You’ll learn to create tables and indexes, and be introduced to best practices for securing your valuable data. You’ll learn design tradeoffs and find out how to make sound decisions resulting in scalable databases and maintainable code.
SQL Server 2014 introduces in-memory tables and stored procedures. It's now possible to accelerate applications by creating tables (and their indexes) that reside entirely in memory, and never on disk. These new, in-memory structures differ from caching mechanisms of the past, and make possible the extraordinarily swift execution of certain types of queries such as are used in business intelligence applications. Beginning SQL Server for Developers helps you realize the promises of this new feature set while avoiding pitfalls that can occur when mixing in-memory tables and code with traditional, disk-based tables and code.
Beginning SQL Server for Developers takes you through the entire database development process, from installing the software to creating a database to writing the code to connect to that database and move data in and out. By the end of the book, you’ll be able to design and create solid and reliable database solutions using SQL Server.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Overview and Installation
- Chapter 2: SQL Server Management Studio
- Chapter 3: Database Design and Creation
- Chapter 4: Security and Compliance
-
Chapter 5: Defining Tables
- What Is a Table?
- SQL Server Data Types
- Columns As More Than Simple Data Repositories
- Sequences Instead of IDENTITY
- Creating a Table in SQL Server Management Studio
- Creating a Table Through Query Editor
- Creating a Table: Using SQLCMD
- The ALTER TABLE Statement
- Defining the Remaining Tables
- Setting a Primary Key
- Creating a Relationship
- Building a Relationship via T-SQL
- Relationships: Database or Application
- Partitioning
- Summary
- Chapter 6: Creating Indexes and Database Diagramming
- Chapter 7: In-Memory Tables
- Chapter 8: Database Backups and Recovery
- Chapter 9: Database Maintenance
- Chapter 10: Data Insertion, Deletion, and Transactions—Disk-Based
- Chapter 11: Selecting and Updating Data from Disk-Based Tables
- Chapter 12: Working with In-Memory Tables
- Chapter 13: Building a View
- Chapter 14: Stored Procedures, Functions, and Security
- Chapter 15: Natively Compiled Stored Procedures
- Chapter 16: Essentials for Effective Coding
- Chapter 17: Advanced T-SQL and Debugging
- Chapter 18: Triggers
- Chapter 19: Connecting via Code
- Index
Product information
- Title: Beginning SQL Server for Developers, Fourth Edition
- Author(s): Robin Dewson
- Release date: December 2014
- Publisher(s): Apress
- ISBN: 9781484202807
You might also like
book
SQL Server T-SQL Recipes, Fourth Edition
by Jason Brimhall, Jonathan Gennick, Wayne Sheffield
SQL Server T-SQL Recipes is an example-based guide to the Transact-SQL language that is at the …
book
Introducing SQL Server
by Mike McQuillan
Introducing SQL Server is a fast and easy introduction to SQL Server and the world of …
book
Pro T-SQL 2019: Toward Speed, Scalability, and Standardization for SQL Server Developers
by Elizabeth Noble
Design and write simple and efficient T-SQL code in SQL Server 2019 and beyond. Writing T-SQL …
book
SQL Server 2016 Developer's Guide
by Dejan Sarka, Miloš Radivojević, William Durkin
Get the most out of the rich development capabilities of SQL Server 2016 to build efficient …