Book Image

ETL with Azure Cookbook

By : Christian Cote, Matija Lah, Madina Saitakhmetova
Book Image

ETL with Azure Cookbook

By: Christian Cote, Matija Lah, Madina Saitakhmetova

Overview of this book

ETL is one of the most common and tedious procedures for moving and processing data from one database to another. With the help of this book, you will be able to speed up the process by designing effective ETL solutions using the Azure services available for handling and transforming any data to suit your requirements. With this cookbook, you’ll become well versed in all the features of SQL Server Integration Services (SSIS) to perform data migration and ETL tasks that integrate with Azure. You’ll learn how to transform data in Azure and understand how legacy systems perform ETL on-premises using SSIS. Later chapters will get you up to speed with connecting and retrieving data from SQL Server 2019 Big Data Clusters, and even show you how to extend and customize the SSIS toolbox using custom-developed tasks and transforms. This ETL book also contains practical recipes for moving and transforming data with Azure services, such as Data Factory and Azure Databricks, and lets you explore various options for migrating SSIS packages to Azure. Toward the end, you’ll find out how to profile data in the cloud and automate service creation with Business Intelligence Markup Language (BIML). By the end of this book, you’ll have developed the skills you need to create and automate ETL solutions on-premises as well as in Azure.
Table of Contents (12 chapters)

Installing Azure Data Studio

Azure Data Studio (ADS) represents a new database administration, maintenance, and development tool to be used with Microsoft data platforms on-premises or in the cloud. In contrast to SSMS, not only can ADS be installed on Windows, but also on macOS or Linux.

ADS offers a new approach to development with a visually and functionally rich T-SQL editor, IntelliSense, and code snippets. It visually integrates execution results with the T-SQL queries that were executed to generate them and allows you to export query results in several standard formats.

The aim of ADS is not to completely replace SSMS as the principal data administration, maintenance, and development tool, but rather to complement it, especially as a cross-platform tool.

If you are new to ADS, or need help in determining how to balance your work between ADS and SSMS, we recommend the What is Azure Data Studio? introductory article, available online at https://docs.microsoft.com/en-us/sql/azure-data-studio/what-is.

Getting ready

The ADS installation is available online, at https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio.

How to do it…

Use your favorite internet browser to navigate to the ADS download site listed previously:

  1. On the Download and install Azure Data Studio web page, locate the recommended User Installer link, and follow it to start the download. When prompted, save the file to the local drive on your workstation.

    Depending on your internet connection, the download should complete within a minute.

  2. When prompted by the browser, click Run to start the installation; otherwise, use Windows Explorer to navigate to your downloads folder, and initiate the installation there.
  3. Review the license agreement, and then click Next to continue.
  4. On the Select Destination Location page, leave the default folder selected, and click Next to continue.
  5. On the Select Start Menu Folder page, leave the default folder name, and click Next to continue.
  6. On the Select Additional Tasks page, you can check the Create a desktop icon option if you want to place the ADS shortcut on the desktop. You can also check the Register Azure Data Studio as an editor for supported file types option if you want all files normally associated with SSMS to be opened in ADS by default:
    Figure 1.24 – Selecting additional tasks in the ADS setup

    Figure 1.24 – Selecting additional tasks in the ADS setup

    If you are not planning to replace SSMS with ADS at this time, leave the default settings unchanged, as shown in the screenshot.

    When ready, click Next to continue.

  7. On the Ready to Install page, review the setup options. When ready, click Next to start the automated part of the installation. The installation should complete within a few minutes.
  8. On the final page, uncheck the Launch Azure Data Studio option, and click Finish to close the installer.

You do not have to start ADS at this time.

How it works…

You have now installed ADS, the newest addition to the Microsoft data platform development and administration toolset. Some of the recipes in this cookbook will require the use of features that are available in ADS, but not in SSMS.