Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time

Workshop: SQL Server 2019 Workshop

A Microsoft Course from the SQL Server team

About this Workshop

Welcome to this Microsoft solutions workshop on SQL Server 2019 Workshop.

In this course you will learn how to solve modern data challenges with SQL Server 2019 using a hands-on lab approach.

This course is intended to be taken as a self-paced or instructor-led workshop. A supplement slide deck is available for this course in the slides folder.

This course is designed for data professionals who have a basic working knowledge of SQL Server and the T-SQL language.

This README.MD file explains how the lab is structured, what you will learn, and the technologies you will use in this solution.

Learning Objectives

When you complete this course, you will be able to:

  • Understand and use Intelligent Performance and Optimizations for TempDB features to boost query performance with no application changes
  • Understand and use Data Classification and Auditing to meet the needs of compliance and regulation standards.
  • Understand and use Accelerated Database Recovery to increase database availability.
  • Learn how to extend the T-SQL Language with Java classes.
  • Understand and use containers and deploy SQL Server Replication on Linux.
  • Learn how to deploy and use SQL Server on Kubernetes
  • Understand and use Polybase to connect and query other data sources with no data movement.
  • Learn how to use Big Data Clusters to gain intelligence over all your data integrating SQL Server, Hadoop, and Spark.
  • Learn more about additional capabilities of SQL Server 2019, Migration tools, and Database Compatibility.

IMPORTANT: Big Data Clusters has been retired. Please read the following for more information: https://learn.microsoft.com/lifecycle/announcements/sql-server-2019-big-data-clusters-retirement.

As part of taking this lab you are also learning about new capabilities in Azure SQL.

The following features in this lab also exist in Azure SQL:

  • Intelligent Query Processing
  • Data Classification and Auditing
  • Accelerated Database Recovery

In addition, SQL Server Polybase allows you to connect to Azure SQL, Azure SQL Data Warehouse, and Azure CosmosDB.

Business Applications of this Workshop

  • Boost Database Performance with no application changes
  • Classify data for industry or regulatory compliance
  • Ensure data is highly available to outages that can disrupt your business.
  • Reduce costs of expensive data movement applications
  • Integrate all your data and build end-to-end machine learning application in a single solution.
  • Choose different platforms for SQL Server and take advantage of containerized applications.
  • Learn how to extend the T-SQL language to meet the needs of your application.
  • Learn tools and techniques to modernize and migrate to SQL Server 2019.

Technologies used in this Workshop

Technology Description
SQL ServerDatabase Platform produced by Microsoft
SQL Server 2019Most current release of SQL Server
Intelligent Query ProcessingAutomated query processing enhancements in SQL Server 2019
Query StoreBuilt-in query performance execution statistics stored in a user database
Data ClassificationBuilt-in data information classification with SQL Server with auditing
Accelerated Database RecoveryTurbocharged Recovery, fast rollback, and aggressive transaction log truncation
PolybaseData Virtualization through external tables
LinuxOperating system used in Containers and Container Orchestration
Container runtimeEngine for running and manage containers
SQL Server Management Studio (SSMS)Graphical User Interface Management and Query Tool
Azure Data StudioGraphical User Interface to execute T-SQL queries, notebooks, and manage SQL Server

Before Taking this Workshop

To complete this workshop you will need the following:

  • Clone the workshop using git from https://github.com/microsoft/sqlworkshops-sql2019workshop.git. All the scripts and files in the labs are found in the sql2019workshop folder.

  • On Windows systems, you should use the following git syntax

    git clone --config core.autocrlf=false https://github.com/microsoft/sqlworkshops-sql2019workshop.git

  • Install the software as listed in the Setup section below

Each module of this workshop can be studied and used independently of each other or taken all as a single lab. The Modules are designed in a sequence but you can use each of them one at a time at your own pace.


In order to complete this workshop you need to install the following software:

  • Servicing Update for SQL Server 2019 RTM or later (https://support.microsoft.com/en-us/help/4517790/servicing-update-for-sql-server-2019-rtm). You can run all of the activities from this workshop on an installed SQL Server on Windows, Linux, or Containers. You can use the client tools on a separate computer or VM provided it has access to connect to SQL Server.

    • For Modules 2, 3, and 4 you only need the database engine installed.
    • Module 4 requires disk space to hold a database with a 5Gb data and 10Gb or 20Gb log file.
    • Module 5 requires a Java SDK to be installed to compile the Java classes and the Machine Learning and Language Extensions feature to be installed.
    • Module 6 requires a container runtime like Docker. You can run this on Windows, MacOS, or Linux.
    • Module 7 requires access to a deployed Kubernetes Cluster like Azure Kubernetes Service (AKS).
    • Module 8 requires you to install and enable Polybase (you don't need the Java option and you can choose a stand-alone Polybase.). To run the primary notebook in Module 4 you need access to an Azure SQL Database.
    • Module 9 requires you to deploy a SQL Server 2019 Big Data Cluster on Kubernetes.
  • Install SQL Server Management Studio (SSMS) 18.2 or higher from https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms. Several of the modules require features built only into SSMS.

  • Install Azure Data Studio June 2019 or higher from https://docs.microsoft.com/en-us/sql/azure-data-studio/download. T-SQL notebooks are used extensively in this course.

Azure Data Studio includes new important capabilities for the SQL Server professional called Notebooks. To learn more watch this video by Microsoft Principal Program Manager Vicky Harp on Azure Data Studio:

Introducing SQL Server 2019

This workshop was built and designed for a computer or VM to run SQL Server with at least 8Gb RAM and 4 CPUs.

NOTE: If you run this lab from a virtual machine in Azure running Windows, and you want to use Module 6, you will need to enable nested virtualization. Read more at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nested-virtualization

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file. All license files are found in the LICENSES directory.

Workshop Details

This workshop uses SQL Server 2019, SQL Server Management Studio, Azure Data Studio, containers, Kubernetes, and Azure SQL Database for you to learn how you can solve modern data challenges with SQL Server 2019.

Primary Audience:Data professionals looking to understand and use new capabilities of SQL Server 2019
Secondary Audience:Developers, Architects, IT Pros, Data Scientists, and Data Engineers
Level: 300
Type:Self-Paced or Instructor Led
Length: Full Day

Related Workshops

Workshop Modules

This is a modular workshop, and in each section, you'll learn concepts, technologies, and processes to help you complete the solution. This table is provided for you to see the list of modules in the workshop. You can use any module in any order you like but the preferred method is to proceed to Next Steps below to start the workshop.

01 - Introduction to SQL Server 2019 Learn how SQL Server 2019 solves challenges for the modern data professional
02 - Intelligent Performance Learn the how SQL Server can boost your performance with no application changes
03 - Security Learn new security features of SQL Server 2019 such as Data Classification and Auditing
04 - Availability Learn new capabilities to make your SQL Server more available such as Accelerated Database Recovery
05 - Modern Development Platform Learn how SQL Server 2019 provides new capabilities for the modern data developer
06 - Linux and ContainersLearn how to deploy SQL Server in containers and SQL Server Replication on Linux.
07 - SQL Server on KubernetesLearn how to deploy SQL Server on a Kubernetes Cluster
08 - Data Virtualization Learn how to use SQL Server as a data hub and reduce data movement using Polybase++
09 - Big Data Clusters Learn how to use and manage an integrated solution with SQL Server, Hadoop, and Spark
10 - Additional Capabilities, Migration, and Next StepsLearn more about Additional Capabilities in SQL Server 2019, Migration Tools, Database Compatibility, and Next Steps

Next Steps

Next, Continue to Introduction to SQL Server 2019