V.le P.A. Pirelli 6, Milano - academy@digi.it - 0269438264

Corsi Microsoft

Cerca un corso

Developing SQL Databases

Codice corso: 20762C
Durata corso: 5gg

Introduzione

This five-day instructor-led course provides students with the knowledge and skills to develop a Microsoft SQL Server database. The course focuses on teaching individuals how to use SQL Server product features and tools related to developing a database.

The primary audience for this course is IT Professionals who want to become skilled on SQL Server product features and technologies for implementing a database.

The secondary audiences for this course are individuals who are developers from other product platforms looking to become skilled in the implementation of a SQL Server database.

Obiettivi del corso

After completing this course, students will be able to:

Design and Implement Tables

Describe advanced table designs

Ensure Data Integrity through Constraints

Describe indexes, including Optimized and Columnstore indexes

Design and Implement Views

Design and Implement Stored Procedures

Design and Implement User Defined Functions

Respond to data manipulation using triggers

Design and Implement In-Memory Tables

Implement Managed Code in SQL Server

Store and Query XML Data

Work with Spatial Data

Store and Query Blobs and Text Documents

Prerequisiti

Basic knowledge of the Microsoft Windows operating system and its core functionality

Working knowledge of Transact-SQL

Working knowledge of relational databases

Struttura del Corso

MODULE 1: Introduction to Database Development

Before beginning to work with Microsoft SQL Server in either a development or an administration role, it is important to understand the scope of the SQL Server platform. In particular, it is useful to understand that SQL Server is not just a database engine—it is a complete platform for managing enterprise data. SQL Server provides a strong data platform for all sizes of organizations, in addition to a comprehensive set of tools to make development easier, and more robust.

Lessons

After completing this module, you will be able to:

 

Describe the SQL Server Platform

Use SQL Server Administration Tools

MODULE 2: Designing and Implementing Tables

In a relational database management system (RDBMS), user and system data is stored in tables. Each table consists of a set of rows that describe entities and a set of columns that hold the attributes of an entity. For example, a Customer table might have columns such as CustomerName and CreditLimit, and a row for each customer. In Microsoft SQL Server data management software tables are contained within schemas that are very similar in concept to folders that contain files in the operating system. Designing tables is one of the most important tasks that a database developer undertakes, because incorrect table design leads to the inability to query the data efficiently. 

After an appropriate design has been created, it is important to know how to correctly implement the design.

Lessons

After completing this module, you will be able to:

 

Design and Create Tables using normalization, Primary and Foreign keys

Work with identity columns

Working with Schemas

Creating and Altering Tables

Understand built-in and user data types

Use Schemas in your database designs to organize data, and manage object security

Work with computed columns and temporary tables

 

Lab : Designing and Implementing Tables

MODULE 3: Advanced Table Designs

The physical design of a database can have a significant impact on the ability of the database to meet the storage and performance requirements set out by the stakeholders. Designing a physical database implementation includes planning the filegroups, how to use partitioning to manage large tables, and using compression to improve storage and performance. Temporal tables are a new feature in SQL Server and offer a straightforward solution to collecting changes to your data.

Lessons

After completing this module, you will be able to:

 

 

 

Describe the considerations for using Partitioned Tables in a SQL Server database.

Plan for using Data Compression in a SQL Server database.

Use Temporal Tables to store and query changes to your data.

 

Lab : Using Advanced Table Designs

MODULE 4: Ensuring Data Integrity through Constraints

The quality of data in your database largely determines the usefulness and effectiveness of applications that rely on it—the success or failure of an organization or a business venture could depend on it. Ensuring data integrity is a critical step in maintaining high-quality data. You should enforce data integrity at all levels of an application from first entry or collection through storage. Microsoft SQL Server data management software provides a range of features to simplify the job.

Lessons

After completing this module, you will be able to:

 

Describe the options for Enforcing Data Integrity, and the levels at which they should be applied

Implement domain Integrity through options such as check, unique, and default constraints

Implement Referential Integrity through Primary and Foreign Key Constraints

Add Constraints

Test the Constraints

 

Lab : Using Data Integrity Through Constraints

MODULE 5: Introduction to Indexes

This module discusses table structures that do not have indexes, and the different index types available in Microsoft SQL Server.

Lessons

After completing this module, you will be able to:

 

Explain core indexing concepts.

Evaluate which index to use for different data types.

Describe the difference between single and composite column indexes.

Heaps, Clustered, and Nonclustered Indexes

Create a Heap

Create a Clustered Index

Create a Covered Index

 

Lab : Implementing Indexes

MODULE 6: Designing Optimized Index Strategies

This module discusses advanced index topics including covering indexes, the INCLUDE clause, query hints, padding and fill factor, statistics, using DMOs, the Database Tuning Advisor, and Query Store.

Lessons

After completing this module, you will be able to:

 

What a covering Index is, and when to use one

The issues involved in managing Indexes

Actual and estimated execution plans

How to use Database Tuning Advisor to improve the performance of Queries

How to use Query Store to improve query performance

Use  Query Store

Heaps and Clustered Indexes

Create a Covered Index

 

Lab : Optimizing Indexes

MODULE 7: Columnstore Indexes

This module highlights the benefits of using these indexes on large datasets; the improvements made to columnstore indexes in SQL Server 2016; and the considerations needed to use columnstore indexes effectively in your solutions.

Lessons

After completing this module, you will be able to:

 

Describe Columnstore Indexes and identify suitable scenarios for their use

Create clustered and nonclustered Columnstore Indexes

Describe considerations for using Columnstore Indexes

Create a Memory Optimized Colum

 

Lab : Using Columnstore Indexes

MODULE 8: Designing and Implementing Views

This module describes the design and implementation of views. A view is a special type of query—one that is stored and can be used in other queries—just like a table. With a view, only the query definition is stored on disk; not the result set. The only exception to this is indexed views, when the result set is also stored on disk, just like a table. Views simplify the design of a database by providing a layer of abstraction, and hiding the complexity of table joins. Views are also a way of securing your data by giving users permissions to use a view, without giving them permissions to the underlying objects. This means data can be kept private, and can only be viewed by appropriate users.

Lessons

After completing this module, you will be able to:

 

Understand the role of Views in database design

Create and Manage Views

Creating an Updateable view

Understand the performance considerations with views

 

 

Lab : Designing and Implementing Views

MODULE 9: Designing and Implementing Stored Procedures

This module describes the design and implementation of stored procedures.

Lessons

After completing this module, you will be able to:

 

Understand what Stored Procedures are, and what benefits they have.

Design, Create, and Alter Stored Procedures

Control the Execution Context of stored procedures.

Implement and change Stored Procedures that use parameters

 

Lab : Designing and Implementing Stored Procedures

MODULE 10: Designing and Implementing User-Defined Functions

In this module, you will learn to design and implement user-defined functions (UDFs) that enforce business rules or data consistency. You will also learn how to modify and maintain existing functions.

Lessons

After completing this module, you will be able to:

 

Describe different types of functions.

Design and Implementing Scalar Functions.

Design and Implementing Table-Valued Functions (TVFs).

Describe Considerations for Implementing Functions

Describe Alternatives to Functions

Format Phone numbers

Modify an Existing Function

 

Lab : Designing and Implementing User-Defined Functions

MODULE 11: Responding to Data Manipulation via Triggers

In this module, you will learn what DML triggers are, how they enforce data integrity, the different types of trigger that are available to you, and how to define them in your database.

Lessons

After completing this module, you will be able to:

 

Design DML Triggers

Implement DML Triggers

Explain advanced DML trigger concepts, such as nesting and recursion

Create and Test the Audit Trigger

Improve the Audit Trigger

 

Lab : Responding to Data Manipulation by Using Triggers

MODULE 12: Using In-Memory Tables

Microsoft SQL Server 2014 data management software introduced in-memory online transaction processing (OLTP) functionality features to improve the performance of OLTP workloads. SQL Server adds several enhancements, such as the ability to alter a memory-optimized table without recreating it. Memory-optimized tables are primarily stored in memory, which provides the improved performance by reducing hard disk access. Natively compiled stored procedures further improve performance over traditional interpreted Transact-SQL.

Lessons

After completing this module, you will be able to:

 

Use Memory-Optimized Tables to improve performance for latch-bound workloads.

Use Natively Compiled Stored Procedures.

 

Lab : Using In-Memory Database Capabilities

MODULE 13: Implementing Managed Code in SQL Server

As a SQL Server professional, you are likely to be asked to create databases that meet business needs. Most requirements can be met using Transact-SQL. However, occasionally you may need additional capabilities that can only be met by using common language runtime (CLR) code. As functionality is added to SQL Server with each new release, the necessity to use managed code decreases. However, there are times when you might need to create aggregates, stored procedures, triggers, user-defined functions, or user-defined types. You can use any .NET Framework language to develop these objects. In this module, you will learn how to use CLR managed code to create user-defined database objects for SQL Server.

Lessons

After completing this module, you will be able to:

 

Explain the importance of CLR Integration in SQL Server

Implement and Publishing CLR Assemblies using SQL Server Data Tools (SSDT)

Assessing Proposed CLR Code

Creating a Scalar-Valued CLR Function

Creating a Table Valued CLR Function

 

Lab : Implementing Managed Code in SQL Server

MODULE 14: Storing and Querying XML Data in SQL Server

XML provides rules for encoding documents in a machine-readable form. It has become a widely adopted standard for representing data structures, rather than sending unstructured documents. Servers that are running Microsoft SQL Server data management software often need to use XML to interchange data with other systems; many SQL Server tools provide an XML-based interface. SQL Server offers extensive handling of XML, both for storage and querying. This module introduces XML, shows how to store XML data within SQL Server, and shows how to query the XML data. The ability to query XML data directly avoids the need to extract data into a relational format before executing Structured Query Language (SQL) queries. To effectively process XML, you need to be able to query XML data in several ways: returning existing relational data as XML, and querying data that is already XML.

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 XML indexes within SQL Server

Use the Transact-SQL FOR XML statement

Work with basic XQuery queries

Determining when to use XML

Testing XML Data Storage in Variables

Using XML Schemas

Using FOR XML Queries

Creating a Stored Procedure to Return XML

 

Lab : Storing and Querying XML Data in SQL Server

MODULE 15: Storing and Querying Spatial Data in SQL Server

This module describes spatial data and how this data can be implemented within SQL Server.

Lessons

After completing this module, you will be able to:

 

Describe how Spatial Data can be stored in SQL Server

Use basic methods of the GEOMETRY and GEOGRAPHY data types

Query databases containing spatial data

Become Familiar with the Geometry Data Type

Add Spatial Data to an Existing Table

Find Nearby Locations

 

Lab : Working with SQL Server Spatial Data

MODULE 16: Storing and Querying BLOBs and Text Documents in SQL Server

Traditionally, databases have been used to store information in the form of simple values—such as integers, dates, and strings—that contrast with more complex data formats, such as documents, spreadsheets, image files, and video files. As the systems that databases support have become more complex, administrators have found it necessary to integrate this more complex file data with the structured data in database tables. For example, in a product database, it can be helpful to associate a product record with the service manual or instructional videos for that product. SQL Server provides several ways to integrate these files—that are often known as Binary Large Objects (BLOBs)—and enable their content to be indexed and included in search results. In this module, you will learn how to design and optimize a database that includes BLOBs.

Lessons

After completing this module, you will be able to:

 

Describe the considerations for designing databases that incorporate BLOB data

Describe the benefits and design considerations for using FILESTREAM to store BLOB data on a Windows file system

Describe the benefits of using full-text indexing and Semantic Search, and explain how to use these features to search SQL Server data, including unstructured data

Enable and Use FILESTREAM Columns

Enable and Use File Tables

Use a Full-Text Index

 

Lab : Storing and Querying BLOBs and Text Documents in SQL Server

MODULE 17: SQL Server Concurrency

This module covers the implementation of concurrency in Microsoft SQL Server. You will learn about how SQL Server implements concurrency controls, and the different ways you can configure and work with concurrency settings.

Lessons

After completing this module, you will be able to:

 

Describe Concurrency and Transactions in SQL Server

Describe SQL Server Locking

Implement Snapshot Isolation

Implement Partition Level Locking

 

Lab : SQL Server Concurrency

MODULE 18: Performance and Monitoring

This module explains how to name, declare, assign values to, and use variables. It also describes how to store data in an array. This module looks at how to measure and monitor the performance of your SQL Server databases. The first two lessons look at SQL Server Extended Events, a flexible, lightweight event-handling system built into the Microsoft SQL Server Database Engine. These lessons focus on the architectural concepts, troubleshooting strategies and usage scenarios.

Lessons

After completing this module, you will be able to:

 

Understand Extended Events and how to use them

Work with Extended Events

Understand Live Query Statistics

Optimize the file configuration of your databases

Use DMVs and Performance Monitor to create baselines and gather performance metrics

Collect and Analyze Data Using Extended Events

Implement Baseline Methodology

 

Lab : Monitoring, Tracing, and Baselining

 

 

 

P.IVA 06249920965
C.C.I.A.A. REA: MI - 1880014
Cap. Soc. € 12.000,00

Contatti

V.le P.A. Pirelli 6,20126 Milano
Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo.
Tel.: +39 02 694 382 64
Fax.: +39 02 694 382 35

© Copyright 2020 DI.GI. Academy
Privacy Policy | Cookie Policy