Introducing SQL Server [electronic resource] /
McQuillan, Mike.author.
Introducing SQL Server is a fast and easy introduction to SQL Server and the world of relational databases. You’ll learn how databases work and how to use the T-SQL language by practicing on one of the most widely-used and powerful database engines in the corporate world: Microsoft SQL Server. Do you quake at the sight of a SELECT statement? Start to shiver when people start talking about tables and rows? Fear not, Introducing SQL Server is here to rescue you. The book focuses on the knowledge and skills needed to begin your journey toward becoming a solid and competent SQL Server professional and database programmer. You’ll learn the core concepts of SQL Server, from installing the software to executing and profiling queries. Introducing SQL Server is aimed at SQL Server newcomers as well as at those wanting to improve their database skills. You’ll put a comprehensive database together as you work through the book. You will create tables and learn to use constraints; create reusable functions and stored procedures; and even learn how indexes work and what they bring in terms of increased performance. Introducing SQL Server shows you that databases don’t need to be difficult. • Teaches you how to build a SQL Server database from scratch • Takes a tutorial-based approach, with each chapter building on the last • Covers what you need to know for common SQL Server development tasks.
Contents at a Glance; Contents; About the Author; About the Technical Reviewer;  Acknowledgments; Chapter 1: What Is SQL Server?;  A Quick History of SQL Server ;  SQL Server Services;  Business Intelligence Services ;  Editions of SQL Server ;  SQL Server Tools and Utilities ;  Time to Kick Off ; Chapter 2: Obtaining and Installing SQL Server;  Downloading SQL Server Express ;  Beginning Installation ;  Installation Wizard Steps ;  Updates and Features;  Instance Features;  Shared Features ;  Database Instances;  Default Instances;  Named Instances ;  The Instance Configuration Page
Service Accounts  Collation ;  Database Engine Configuration;  Server Configuration ;  Data Directories ;  User Instances ;  FILESTREAM ;  Reporting Services Configuration ;  Installing ;  A Very Quick SSMS Overview ;  Summary; Chapter 3: Database Basics;  What Is a Database?;  Types of Databases;  System Databases;  User Databases;  Creating a Database Using SSMS ;  Dropping a Database Using SSMS;  Creating a Database Using T-SQL;  Dropping A Database Using T-SQL;  Advanced Database Scripting;  Creating Scripts Automatically;  Database Properties ;  Summary; Chapter 4: Tables;  Table Basics
A Starting Point Naming Tables;  Types Of Table;  Columns and Table Data Types ;  Primary Keys;  Clustered and Nonclustered Keys ;  Foreign Keys and Relationships;  IDENTITY Columns ;  Summary; Chapter 5: Putting Good Tables Together;  Database Normalization;  First Normal Form;  Multiple-Column Repeating Groups;  Second Normal Form;  Third Normal Form;  Further Analysis;  Looking Things Over;  A Second Enhancement;  Summary; Chapter 6: Automating Deployment with SQLCMD;  What Is SQLCMD?;  Why We Need a SQLCMD Script;  Rollback Scripts;  Creating the SQLCMD Rollback Script
Creating the SQLCMD Apply Script  Summary; Chapter 7: NULLs and Table Constraints;  NULL Constraints;  Constraints;  Default Constraints;  Creating a Default Constraint;  Table Constraints Part 1-Check Constraints;  Creating a Table Constraint;  Creating a Column Constraint;  Table Constraints Part 2- Unique Constraints ;  Some Constraints Are Really Indexes ;  Summary; Chapter 8: DML (or Inserts, Updates, and Deletes);  Reference Data vs. Real Data ;  Inserting Data;  More Inserts ;  The UPDATE Statement ;  Deleting Records;  Summary; Chapter 9: Bulk Inserting Data
The BULK INSERT Statement Preparing the Data File;  Importing the Data File ;  More Bulk Insert Escapades;  Truncating Tables;  Summary; Chapter 10: Creating Data Import Scripts;  Purpose of the Import Script ;  Starting the Script with Variables ;  Reference Data Lookups;  Inserting the Contact Record ;  Adding Subrecords ;  Displaying the Outcome ;  The Rollback Script ;  Summary; Chapter 11: The SELECT Statement;  What Is the SELECT Statement For? ;  The Simple SELECT Statement ;  The WHERE Clause;  The AND Operator ;  The OR Operator ;  The IN Operator ;  Mixing Operators
Ordering Data
Includes index.
Introducing SQL Server is a fast and easy introduction to SQL Server and the world of relational databases. You’ll learn how databases work and how to use the T-SQL language by practicing on one of the most widely-used and powerful database engines in the corporate world: Microsoft SQL Server. Do you quake at the sight of a SELECT statement? Start to shiver when people start talking about tables and rows? Fear not, Introducing SQL Server is here to rescue you. The book focuses on the knowledge and skills needed to begin your journey toward becoming a solid and competent SQL Server professional and database programmer. You’ll learn the core concepts of SQL Server, from installing the software to executing and profiling queries. Introducing SQL Server is aimed at SQL Server newcomers as well as at those wanting to improve their database skills. You’ll put a comprehensive database together as you work through the book. You will create tables and learn to use constraints; create reusable functions and stored procedures; and even learn how indexes work and what they bring in terms of increased performance. Introducing SQL Server shows you that databases don’t need to be difficult. • Teaches you how to build a SQL Server database from scratch • Takes a tutorial-based approach, with each chapter building on the last • Covers what you need to know for common SQL Server development tasks.
SQL server.
SQL server.
Database management.
Database Management.