Developing Microsoft SQL Server 2014 Databases
- Codice corso: 20464D
- Durata corso: 5gg
Introduzione
This 5-day instructor-led course introduces SQL Server 2014 and describes logical table design, indexing and query plans. It also focusses on the creation of database objects including views, stored procedures, along with parameters, and functions. Other common aspects of procedure coding, such as indexes, concurrency, error handling, and triggers are also covered in this course. Also this course helps you prepare for the Exam 70-464.
Note: This course is designed for customers who are interested in learning SQL Server 2012 or SQL Server 2014. It covers the new features in SQL Server 2014, but also the important capabilities across the SQL Server data platform.
The primary audience for this course is IT Professionals who want to become skilled on SQL Server 2014 product features and technologies for implementing a database.
The secondary audiences for this course are individuals who are developers from other product platforms or previous versions of SQL Server looking to become skilled in the implementation of a SQL Server 2014 database.
Obiettivi del corso
After completing this course, students will be able to:
Introduce the entire SQL Server platform and its major tools. It will cover editions, versions, basics of network listeners, and concepts of services and service accounts
Determine appropriate data types to be used when designing tables, convert data between data types, and create alias data types
Be aware of good design practices regarding SQL Server tables and be able to create tables using T-SQL. (Note: partitioned tables are not covered)
Implement PRIMARY KEY, FOREIGN KEY, DEFAULT, CHECK and UNIQUE constraints, and investigate cascading FOREIGN KEY constraints
Determine appropriate single column and composite indexes strategies
Create tables as heaps and tables with clustered indexes. Also consider the design of a table and suggest an appropriate structure
Read and interpret details of common elements from execution plans
Design effective non-clustered indexes
Design and implement view
Design and implement stored procedures
Work with table types, table valued parameters and use the MERGE statement to create stored procedures that update data warehouses
Design and implement functions, both scalar and table-valued. (Also describe where they can lead to performance issues)
Perform basic investigation of a deadlock situation and learn how transaction isolation levels affect application concurrency
Use both traditional T-SQL error handling code and structured exception handling
Design and implement DML triggers
Learn appropriate uses for SQL CLR integration and implement an existing .NET assembly within SQL Server
Store XML data and schemas in SQL Server
Perform basic queries on XML data in SQL Server
Prerequisiti
This course requires that you meet the following prerequisites:
Knowledge of writing T-SQL queries.
Knowledge of basic relational database concepts.
Struttura del Corso
MODULE 1: Introduction to Database Development
This module introduces database development and the key tasks that a database developer would typically perform.
Lessons
After completing this module, you will be able to:
Describe the architecture and editions of SQL Server 2012
Work with SQL Server Database Development Tasks
Work with SQL Server Tools
Configure SQL Server Services
Lab : Introduction to Database Development
MODULE 2: Designing and Implementing Tables
This module explains how to design, create, and alter tables. Also it focusses on working with schemas.
Lessons
After completing this module, you will be able to:
Design Tables
Data Types
Work with Schemas
Create and Alter Tables
Partitioning Data
Compressing Data
Lab : Designing and Implementing Tables
MODULE 3: Ensuring Data Integrity through Constraints
This module explains how to enforce data integrity, and implement domain integrity to maintain high quality data. Also it focusses on implementing Entity and Referential Integrity.
Lessons
After completing this module, you will be able to:
Explain the available options for Enforcing Data Integrity and the levels at which they should be applied
Implement Domain Integrity
Implement Entity and Referential Integrity
Lab : Ensuring Data Integrity through Constraints
MODULE 4: Introduction to Indexing
This module describes the concept of an index and discusses selectivity, density and statistics. It covers appropriate data type choices and choices around composite index structures.
Lessons
After completing this module, you will be able to:
Describe core Indexing Concepts
Choose appropriate Data Types for Indexes
Single Column and Composite Indexes
Design and implement clustered and nonclustered indexes
Lab : Implementing Indexes
MODULE 5: Designing Optimized Index Strategies
This module explains covering indexes and the INCLUDE clause as well as the use of padding, hints and statistics. The module also covers the use of the Database Engine Tuning Advisor and index-related dynamic management views to assess indexing strategies.
Lessons
After completing this module, you will be able to:
Describe the elements of an execution plan
Design effective indexing strategies
Monitor your system to assess the performance of your indexing strategy
Use the DTE
Lab : Designing Optimized Index Strategies
MODULE 6: Columnstore Indexes
This module explains columnstore indexes and how to use them to maximize the performance and scalability of database applications.
Lessons
After completing this module, you will be able to:
Create Columnstore indexes
Describe the considerations for updating tables with non-clustered columnstore indexes
Lab : Using Columnstore Indexes
MODULE 7: Designing and Implementing Views
This module introduces Views, and explains how to create and manage Views. Also it focuses on the performance consideration for Views.
Lessons
After completing this module, you will be able to:
Explain the Role of Views In Database Development
Create and Manage Views
Describe the Performance related impacts of views
Lab : Designing and Implementing Views
MODULE 8: Designing and Implementing Stored Procedures
This module describes the potential advantages of the use of stored procedures along with guidelines on creating them.
Lessons
After completing this module, you will be able to:
Describe the role of stored procedures and the potential benefits of using them
Work with stored procedures
Implement Parameterized Stored Procedures
Control the Execution Context of a Stored Procedure
Lab : Designing and Implementing Stored Procedures
MODULE 9: Designing and Implementing User-Defined Functions
This module explains how to design and implement user-defined functions that enforce business rules or data consistency, and modify and maintain existing functions written by other developers.
Lessons
After completing this module, you will be able to:
Design and implement Scalar Functions
Design and implement Table-Valued Functions
Describe implementation Considerations for Functions
Describe Alternatives to Functions
Lab : Designing and Implementing User-Defined Functions
MODULE 10: Responding to Data Manipulation via Triggers
This module, explains what DML triggers are and how they enforce data integrity. Also it focusses on the different types of triggers available, and how to define triggers in a database.
Lessons
After completing this module, you will be able to:
Design DML Triggers
Implement DML Triggers
Explain advanced DML Trigger Concepts
Lab : Responding to Data Manipulation via Triggers
MODULE 11: Using In-Memory Tables
This module covers the creation of in-memory tables and native stored procedures and discusses the advantages and disadvantages of using in-memory tables.
Lessons
After completing this module, you will be able to:
Design and implement Memory-Optimized Tables
Create Native Stored Procedures
Lab : In-Memory OLTP
MODULE 12: Implementing Managed Code in SQL Server 2014
This module explains how to use CLR integrated code to create user-defined database objects that are managed by the .NET Framework.
Lessons
After completing this module, you will be able to:
Explain the importance of SQL Server CLR Integration
Import and configure Assemblies
Implement objects that have been created within .NET assemblies
Lab : Implementing Managed Code in SQL Server 2014
MODULE 13: Storing and Querying XML Data in SQL Server
This module introduces XML and shows how XML data can be stored within SQL Server and then queried, including queries written in a language called XQuery.
Lessons
After completing this module, you will be able to:
Describe XML and XML schemas
Store XML data and associated XML schemas in SQL Server
Implement the XML data type within SQL Server
Use the T-SQL FOR XML Statement
Work with basic XQuery queries
Shred XML to a relational form
Lab : Storing and Querying XML Data in SQL Server 2014
MODULE 14: Working with SQL Server 2014 Spatial Data
This module introduces Spatial Data, and explains how to work with SQL Server Spatial Data Types.
Lessons
After completing this module, you will be able to:
Describe the importance of Spatial Data and the industry standards related to it
Explain how to store Spatial Data in SQL Server
Perform calculations on and query SQL Server Spatial Data
Lab : Working with SQL Server Spatial Data
MODULE 15: Incorporating Data Files into Databases
Lessons
Querying Data with Stored Procedures
Implementing FILESTREAM and File Tables
Searching Data Files
Lab : Implementing a Solution for Storing Data Files