Analyze and explore data with T-SQL in Azure Synapse Analytics

Published Dec 17 2020 09:00 AM 7,570 Views
Microsoft

Azure Synapse Analytics brings the worlds of data integration, big data, and enterprise data warehousing together into a single service for end-to-end analytics—at cloud scale. In this blog post we will focus on using T-SQL to explore and analyze data.

 

Every Synapse workspace includes a built-in serverless SQL pool designed to enable quick exploration of data stored in the data lake based on pay-per-query pricing. You can also provision one or more dedicated SQL pools to your workspace that lets you run high-performance analytics against data stored in tables with columnar storage.

 

IgorStanko_0-1607979639476.png

 

Both serverless and dedicated SQL pools can be used within the same Synapse workspace, providing the flexibility to choose one or both options to cost-effectively manage your SQL analytics workloads. With Azure Synapse, you can use T-SQL to directly query data within a data lake for rapid data exploration and take advantage of the full capabilities of a data warehouse for more predictable and mission-critical workloads. With both query options available, you can choose the most cost-effective option for each of your use cases, resulting in cost savings across your business.

 

This post explores 2 consumption choices when exercising analytics using Synapse SQL (serverless and dedicated SQL pools) and examines the power and flexibility provided by Azure Synapse when both are used to execute T-SQL workloads. In addition, we will explore options to control cost when using both models.

 

Consumption choices

 

1. Serverless SQL pool

To enable easy exploration and transformation of data in your data lake you can use a serverless SQL pool. One can directly query external files stored in Azure storage without copying or loading data into a specialized store, all using familiar T-SQL dialect. A default, built-in, endpoint for this service is provided within every Synapse workspace and you can start querying data as soon as your workspace is created.

 

As the name implies, the serverless SQL pool is serverless, which means there is no infrastructure to manage, no upfront costs, and no resource reservations required to begin using the service. The serverless SQL pool follows pay-per-use model, so you are only charged for the data processed by queries you run.

 

  • Import sample dataset from Knowledge Center

To demonstrate how easy it is to start with querying data in the data lake using a serverless SQL pool, let’s import some sample data from the Knowledge Center gallery and run some queries to explore the dataset. First, select the Data Hub from the left-hand menu in Synapse Studio, select the + (Add) icon on the Data Hub, and then select Browse gallery.

 

IgorStanko_1-1607979639499.png

The Browse gallery link on the Data Hub’s add button menu is highlighted.

 

On the Gallery page, select the Datasets tab, choose the Bing COVID-19 Data sample, and then select Continue.

 

IgorStanko_2-1607979639508.png

Within the Knowledge Center, the Datasets tab is selected, and the Bing COVID-19 Data sample dataset is highlighted.

 

On the Bing COVID-19 Data page, you have to opportunity to preview the sample data. Select Add dataset to initiate a background process to import the Open dataset and create a Linked Service for it within Synapse Studio.

 

IgorStanko_3-1607979639524.png

The Bing COVID-19 Data sample dataset is displayed in the Knowledge Center preview page.

 

You can find the Linked Service for the downloaded sample dataset on the Linked tab within the Data Hub. It is named bing-covid-19-data and can be found under Azure Blob Storage, within the Sample datasets container.

 

IgorStanko_4-1607979639535.png

On the Linked Services tab of the Data Hub, the bing-covid-19-data folder is highlighted under the Azure Blob Storage Sample Datasets container.

 

  • Query files in your data lake using a serverless SQL pool

Next, we want to open the dataset using a T-SQL query. After locating Linked Service for the Bing COVID-19 sample dataset, select the Actions ellipsis next to it to display the actions menu.

 

IgorStanko_5-1607979639541.png

The Actions menu ellipsis is highlighted next to the bing-covid-19-data sample dataset.

 

In the Action menu, select New SQL script and Select TOP 1000 rows.

 

IgorStanko_6-1607979639549.png

On the Actions menu for the sample dataset, New SQL script and Select TOP 100 rows are highlighted.

 

The previous action results in a new SQL script tab opening within Synapse Studio. This script contains the auto-generated T-SQL code for reading the top 100 rows of data from the bing_covid-19_data.parquet file located in Azure Storage. The query uses the OPENROWSET(BULK…) function to access files within the data lake.

 

Azure Synapse uses the OPENROWSET(BULK...) function to enable accessing files in Azure Storage. The OPENROWSET function reads the contents of an external data source and returns its content as a set of rows. The OPENROWSET function is referenced in the FROM clause of your query, allowing it to act as if it were a table named OPENROWSET. A built-in BULK provider enables data from files to be read and returned as a rowset.

 

To query data in the data lake using a serverless SQL pool, ensure that your serverless SQL pool, named Built-in, is selected in the Connect to box on the SQL script tab’s toolbar.

 

IgorStanko_7-1607979639551.png

The auto-generated T-SQL script is displayed, and the Connect to textbox containing Built-in is highlighted.

 

Select Run on the SQL script tab’s toolbar to execute the query using the serverless SQL pool resource.

 

IgorStanko_8-1607979639560.png

The Run button is highlighted on the SQL script toolbar, and the results of the query execution are displayed in the Results pane.

 

  • Execute GROUP BY query with serverless SQL pool

The previous query demonstrates how quickly you can query and explore data contained within files stored in Azure Storage. Now, let’s execute a query to perform some basic transformations on the sample dataset and calculate the average number of new daily confirmed cases and deaths by region.

 

Modify the code in the SQL script tab by making the following changes:

- Replace TOP 100 * with Country_region AS Region, AVG(Confirmed_change) AS AverageDailyConfirmedCases, AVG(Deaths_change) AS AverageDailyDeaths.

- Append GROUP BY Country_region to the end of the query, before the ; after [result].

 

Your final query should look similar to the following:

SELECT
    Country_region AS Region, AVG(Confirmed_change) AS AverageDailyConfirmedCases, AVG(Deaths_change) AS AverageDailyDeaths
FROM
    OPENROWSET(
        BULK     'https://pandemicdatalake.blob.core.windows.net/public/curated/covid-19/bing_covid-19_data/latest/bin...',
        FORMAT = 'parquet'
    ) AS [result] GROUP BY Country_region;

 

As you did previously, execute the updated query by selecting Run on the toolbar and observing the Results pane.

 

IgorStanko_9-1607979639567.png

The Run button is highlighted on the SQL script toolbar, and the updated SELECT and added GROUP BY statements are highlighted within the query. The results of the transformation query are displayed in the Results pane.

 

The serverless SQL pool supports the whole range of GROUP BY options, giving you the ability to aggregate data stored in external files into a summary set of rows.

 

  • Create an external table

We will end our overview of using the serverless SQL pool resource by creating a serverless SQL pool database and defining an external table. The serverless SQL pool is an interactive query service over external data in Azure storage. As such, you cannot create tables in serverless SQL pool databases. You can, however, define external tables using the CREATE EXTERNAL TABLE T-SQL command. External tables point to data located in Hadoop, Azure Storage blob, or Azure Data Lake Storage. For the serverless SQL pool, you can use external tables to query data in Azure Storage using T-SQL statements. You can also use external tables to write serverless SQL pool query results to files in Azure Storage.

 

As you did earlier, select the Action menu ellipsis for the bing-covid-19-data Linked Service, but this time select New SQL script and Create external table from the menu.

 

IgorStanko_10-1607979639575.png

On the Actions menu for the sample dataset, New SQL script and Create external table are highlighted.

 

On the Create external table dialog, ensure Built-in is selected in the SQL pool dropdown, then select Select a database and select + New.

 

IgorStanko_11-1607979639593.png

On the Create external table dialog, New is highlighted under Select a database.

 

On the Create SQL database dialog, enter ServerlessSql in the Name field and select Create.

 

IgorStanko_12-1607979639599.png

ServerlessSql is entered into the Name box and highlighted on the Create SQL database dialog.

 

Back on the Create external table dialog, enter BingCovidData into the External table name field and select Create.

 

IgorStanko_13-1607979639617.png

BingCovidData is entered into the External table name field, and the Create button is highlighted.

 

A new T-SQL script tab will open in Synapse Studio with the code to create an external table from the data lake file. This auto-generated script contains the three steps necessary to create an external table using serverless SQL pool.

- Create an external file format to specify the actual layout of the data referenced by the external table.

- Create an external data source, which is used to connect to your storage account.

- Create an external table to generate an external table that enables Azure Synapse to access data stored in Azure Storage.

 

IgorStanko_14-1607979639631.png

The three steps, (1) create an external file, (2) create an external data source, and (3) create an external table, are highlighted within the auto-generated T-SQL code.

 

The script also contains a SELECT TOP 100 statement to query the newly created external table. Before running the query, verify the Connect to box is set to Built-in and note the value in the Use database dropdown. The database is set to the new SQL database created when you were generating the script for creating the external table.

 

Select Run from the toolbar to execute the query to create and query the BingCovidData external table.

 

IgorStanko_15-1607979639646.png

Built-in is highlighted in the Connect to box, and the new ServerlessSql database is selected in the Use database dropdown. The Run button is highlighted on the toolbar.

 

The newly defined database and the external table will now be accessible on the Data Hub’s Workspace tab, under Databases. From here, you can query the table just like you would any table in a SQL database.

 

IgorStanko_16-1607979639653.png

On the Data Hub’s Workspace tab, the ServerlessSql database and External tables are expanded, and the dbo.BingCovidData table is highlighted.

 

You may need to select the Refresh button in the top right corner of Synapse Studio to see the database.

 

With each of these queries, as with all queries executed using a serverless SQL pool, you are only charged for the data processed by queries you run. This pay-per-use model helps provide a cost-effective way to explore data and execute ad-hoc queries against external data.

 

2. Dedicated SQL pool

To exercise enterprise data warehousing features available in Azure Synapse, provision and use dedicated SQL pools. Data is stored in tables with columnar storage, significantly reducing data storage costs and improving query performance. Once information is stored, you can run analytics at a massive scale. Compared to traditional database systems, queries finish in seconds instead of minutes or hours instead of days.

 

After you create a dedicated SQL pool in your Synapse workspace, you can import big data using simple to use COPY statement and then use the power of the distributed query engine to run high-performance analytics.

 

  • Add a dedicated SQL pool

There are two paths you can use to add a dedicated SQL pool to your Synapse workspace. You can create one via the Azure portal or from within Synapse Studio.

From the Azure portal, select the New dedicated SQL pool link from your Synapse workspace blade.

 

IgorStanko_17-1607979639658.png

The new dedicated SQL pool button is highlighted on the toolbar of a Synapse workspace blade in the Azure portal.

 

To add a dedicated SQL pool to your Synapse workspace from within Synapse Studio, navigate to the Manage Hub, select SQL pools, and then select the New button.

 

IgorStanko_18-1607979639663.png

In Synapse Studio, the Manage Hub and SQL pools are selected, and the New button is highlighted.

 

The Manage Hub in Synapse Studio allows you to view and manage your SQL pools.

The process for creating the new dedicated SQL pool is the same after that. On the Create dedicated SQL pool Basics tab, you specify a name for your dedicated SQL pool and choose your desired performance level.

 

IgorStanko_19-1607979639667.png

The Create dedicated SQL pool dialog is displayed, with DedicatedSql entered into the SQL pool name field.

 

The performance level can range from DW100c to DW30000c. To learn more about resource consumption, check out the Synapse SQL resource consumption article in the Azure Synapse Analytics documentation.

 

You can then select Review + create, which sets the default values in the Additional settings tab. Then, select Create to provision your dedicated SQL pool.

 

IgorStanko_20-1607979639673.png

A summary of the configure settings for the dedicated SQL pool is displayed, and the Create button is highlighted.

 

  • Create an external table

As with serverless SQL pool, we can create external tables in dedicated SQL pool to provide pointers to external data. As you did previously for the serverless SQL pool queries, navigate to the Linked tab of the Data Hub, select the Action menu ellipsis for the bing-covid-19-data Linked Service, then select New SQL script and Create external table from the menu.

 

IgorStanko_21-1607979639681.png

On the Actions menu for the sample dataset, New SQL script and Create external table are highlighted.

 

On the Create external table dialog, select your dedicated SQL pool, DedicatedSql, in the Select SQL pool dropdown, and then enter BingCovidData as the external table name, and select Create.

 

IgorStanko_22-1607979639697.png

The create external table dialog is displayed with the dedicated SQL pool selected and BingCovidData entered into the external table name field.

 

Select Run on the toolbar to execute the script and create the external table. When the script execution completes, select the Workspace tab within the Data Hub and expand DedicatedSql and External Tables under databases to view the new external table.

 

IgorStanko_23-1607979639705.png

The BingCovidData external table is highlighted in the DedicatedSql database on the Data Hub.

 

Select the Actions menu ellipsis next to BingCovidData and select New SQL script and Select TOP 100 rows.

 

IgorStanko_24-1607979639715.png

Select top 100 rows is highlighted in the Actions menu.

 

Execute the query by selecting Run from the toolbar, as you have done previously, to view the table’s data.

 

  • Create table in the data warehouse

The simplest and fastest way to create a table in the data warehouse is to use the CREATE TABLE AS SELECT (CTAS) statement. CTAS is one of the most important T-SQL features available in dedicated SQL pool. It creates a new table based on the output of a SELECT statement.

 

To demonstrate how to use the CTAS statement, let’s use it to copy aggregated data from the BingCovidData external table into a new table in the data warehouse. Select the Actions menu ellipsis next to the DedicatedSql (SQL) database, and then select New SQL script and Empty script.

 

In the empty SQL script pane, paste the following code:

CREATE TABLE [dbo].[CovidRegionalDailySummary]
WITH
(
    DISTRIBUTION = ROUND_ROBIN,
    CLUSTERED COLUMNSTORE INDEX
)
AS
SELECT
    Country_region AS Region,
    AVG(Confirmed_change) AS AverageDailyConfirmedCases,
    AVG(Deaths_change) AS AverageDailyDeaths
FROM [dbo].[BingCovidData]
GROUP BY Country_region

 

With CTAS, we specify the new table name with the CREATE TABLE statement and can also specify both the distribution of the table data and the table structure type. We complete the statement with the AS SELECT statement and specify the source table in the FROM clause.

 

Execute the script to create the CovidRegionalDailySummary in your data warehouse. You can then find the new table under Tables in the DedicatedSql (SQL) database on the Data Hub’s Workspace tab. Select the tables Actions menu ellipsis and create a new Select TOP 100 rows query.

 

IgorStanko_25-1607979639721.png

The CovidRegionalDailySummary table is highlighted under Tables in the dedicated SQL pool.

 

Execute the query and observe the results.

 

IgorStanko_26-1607979639725.png

The results of the new aggregated data table are displayed.

 

Cost control

The ability to use serverless and dedicated SQL pools grants you flexibility in controlling costs. And the separation of storage and compute allows you to maintain better cost control for your resources There are also additional cost control options available from the Manage Hub in the Synapse Studio.

 

1. Serverless SQL pool

Serverless SQL pool is a pay per query service that automatically adjusts based on your requirements. The service frees you from managing infrastructure and needing to pick the right size for your solution.

 

The cost control feature for a serverless SQL pool enables you to set one or more budgets for the amount of data (in TB) that can be processed in a day, week, or month. To configure cost control for serverless SQL pool in the Synapse Studio, navigate to Manage Hub and select SQL pool under Analytics pools. As you hover over the serverless SQL pool, the cost control icon will become visible. Select this icon to open the cost control dialog.

 

IgorStanko_27-1607979639728.png

The Cost Control icon is highlighted for the serverless SQL pool.

 

On the Cost Control dialog, you can select the workspace budget limit, depending on your requirements.

 

IgorStanko_28-1607979639739.png

The Cost Control dialog and its various options are displayed.

 

2. Dedicated SQL pool

Controlling costs for your dedicated SQL pool is handled by pausing the SQL pool or scaling down.

 

To pause your dedicated SQL pool in Synapse Studio, simply navigate to Manage Hub and select SQL pool under Analytics pools. As you hover over the dedicated SQL pool, the pause icon will become visible. Select this icon to pause the dedicated SQL pool.

 

IgorStanko_29-1607979639742.png

The pause icon is highlighted for the dedicated SQL pool.

 

To scale the dedicated SQL pool in the Synapse Studio, navigate to Manage Hub and select SQL pool under Analytics pools. As you hover over the dedicated SQL pool, the scale icon will become visible. Select this icon to open the scale dialog.

 

IgorStanko_30-1607979639745.png

The scale icon is highlighted for the dedicated SQL pool.

 

On the Scale dialog, select the desired performance level and select Apply.

 

IgorStanko_31-1607979639751.png

The Scale dialog for the dedicated SQL pool is displayed.

 

Conclusion

This post discussed using both serverless and dedicated SQL pools to perform queries and analysis on your data. The ability to use dedicated and serverless SQL pools within a single Synapse workspace empowers you to choose the most cost-effective option for each of your analytics workloads.

 

Try out this tutorial today by creating an Azure Synapse workspace with a dedicated SQL pool.

IgorStanko_32-1607979639752.jpeg

 

1 Comment
%3CLINGO-SUB%20id%3D%22lingo-sub-1986861%22%20slang%3D%22en-US%22%3EAnalyze%20and%20explore%20data%20with%20T-SQL%20in%20Azure%20Synapse%20Analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1986861%22%20slang%3D%22en-US%22%3E%3CP%3EAzure%20Synapse%20Analytics%20brings%20the%20worlds%20of%20data%20integration%2C%20big%20data%2C%20and%20enterprise%20data%20warehousing%20together%20into%20a%20single%20service%20for%20end-to-end%20analytics%E2%80%94at%20cloud%20scale.%20In%20this%20blog%20post%20we%20will%20focus%20on%20using%20T-SQL%20to%20explore%20and%20analyze%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEvery%20Synapse%20workspace%20includes%20a%20built-in%20%3CSTRONG%3Eserverless%20SQL%20pool%3C%2FSTRONG%3E%20designed%20to%20enable%20quick%20exploration%20of%20data%20stored%20in%20the%20data%20lake%20based%20on%20pay-per-query%20pricing.%20You%20can%20also%20provision%20one%20or%20more%20%3CSTRONG%3Ededicated%20SQL%20pools%3C%2FSTRONG%3E%20to%20your%20workspace%20that%20lets%20you%20run%20high-performance%20analytics%20against%20data%20stored%20in%20tables%20with%20columnar%20storage.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22IgorStanko_0-1607979639476.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240398iCED9FB444F182132%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_0-1607979639476.png%22%20alt%3D%22IgorStanko_0-1607979639476.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBoth%20serverless%20and%20dedicated%20SQL%20pools%20can%20be%20used%20within%20the%20same%20Synapse%20workspace%2C%20providing%20the%20flexibility%20to%20choose%20one%20or%20both%20options%20to%20cost-effectively%20manage%20your%20SQL%20analytics%20workloads.%20With%20Azure%20Synapse%2C%20you%20can%20use%20T-SQL%20to%20directly%20query%20data%20within%20a%20data%20lake%20for%20rapid%20data%20exploration%20and%20take%20advantage%20of%20the%20full%20capabilities%20of%20a%20data%20warehouse%20for%20more%20predictable%20and%20mission-critical%20workloads.%20With%20both%20query%20options%20available%2C%20you%20can%20choose%20the%20most%20cost-effective%20option%20for%20each%20of%20your%20use%20cases%2C%20resulting%20in%20cost%20savings%20across%20your%20business.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20post%20explores%202%20consumption%20choices%20when%20exercising%20analytics%20using%20Synapse%20SQL%20(serverless%20and%20dedicated%20SQL%20pools)%20and%20examines%20the%20power%20and%20flexibility%20provided%20by%20Azure%20Synapse%20when%20both%20are%20used%20to%20execute%20T-SQL%20workloads.%20In%20addition%2C%20we%20will%20explore%20options%20to%20control%20cost%20when%20using%20both%20models.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1179830698%22%20id%3D%22toc-hId--1179830698%22%20id%3D%22toc-hId--1179830698%22%20id%3D%22toc-hId--1179830698%22%3E%3CSTRONG%3E%3CFONT%20size%3D%224%22%3EConsumption%20choices%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E1.%20Serverless%20SQL%20pool%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20enable%20easy%20exploration%20and%20transformation%20of%20data%20in%20your%20data%20lake%20you%20can%20use%20a%20serverless%20SQL%20pool.%20One%20can%20directly%20query%20external%20files%20stored%20in%20Azure%20storage%20without%20copying%20or%20loading%20data%20into%20a%20specialized%20store%2C%20all%20using%20familiar%20T-SQL%20dialect.%20A%20default%2C%20built-in%2C%20endpoint%20for%20this%20service%20is%20provided%20within%20every%20Synapse%20workspace%20and%20you%20can%20start%20querying%20data%20as%20soon%20as%20your%20workspace%20is%20created.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAs%20the%20name%20implies%2C%20the%20serverless%20SQL%20pool%20is%20serverless%2C%20which%20means%20there%20is%20no%20infrastructure%20to%20manage%2C%20no%20upfront%20costs%2C%20and%20no%20resource%20reservations%20required%20to%20begin%20using%20the%20service.%20The%20serverless%20SQL%20pool%20follows%20pay-per-use%20model%2C%20so%20you%20are%20only%20charged%20for%20the%20data%20processed%20by%20queries%20you%20run.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSTRONG%3EImport%20sample%20dataset%20from%20Knowledge%20Center%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20demonstrate%20how%20easy%20it%20is%20to%20start%20with%20querying%20data%20in%20the%20data%20lake%20using%20a%20serverless%20SQL%20pool%2C%20let%E2%80%99s%20import%20some%20sample%20data%20from%20the%20Knowledge%20Center%20gallery%20and%20run%20some%20queries%20to%20explore%20the%20dataset.%20First%2C%20select%20the%20Data%20Hub%20from%20the%20left-hand%20menu%20in%20Synapse%20Studio%2C%20select%20the%20%3CSTRONG%3E%2B%3C%2FSTRONG%3E%20(Add)%20icon%20on%20the%20Data%20Hub%2C%20and%20then%20select%20%3CSTRONG%3EBrowse%20gallery%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_1-1607979639499.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240400i8318A3D8F03E5C79%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_1-1607979639499.png%22%20alt%3D%22IgorStanko_1-1607979639499.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Browse%20gallery%20link%20on%20the%20Data%20Hub%E2%80%99s%20add%20button%20menu%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Gallery%20page%2C%20select%20the%20%3CSTRONG%3EDatasets%3C%2FSTRONG%3E%20tab%2C%20choose%20the%20%3CSTRONG%3EBing%20COVID-19%20Data%3C%2FSTRONG%3E%20sample%2C%20and%20then%20select%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_2-1607979639508.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240399i884582C1AAD618A1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_2-1607979639508.png%22%20alt%3D%22IgorStanko_2-1607979639508.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EWithin%20the%20Knowledge%20Center%2C%20the%20Datasets%20tab%20is%20selected%2C%20and%20the%20Bing%20COVID-19%20Data%20sample%20dataset%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20%3CSTRONG%3EBing%20COVID-19%20Data%3C%2FSTRONG%3E%20page%2C%20you%20have%20to%20opportunity%20to%20preview%20the%20sample%20data.%20Select%20%3CSTRONG%3EAdd%20dataset%3C%2FSTRONG%3E%20to%20initiate%20a%20background%20process%20to%20import%20the%20Open%20dataset%20and%20create%20a%20Linked%20Service%20for%20it%20within%20Synapse%20Studio.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_3-1607979639524.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240402i1F15BB86C2E6738B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_3-1607979639524.png%22%20alt%3D%22IgorStanko_3-1607979639524.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Bing%20COVID-19%20Data%20sample%20dataset%20is%20displayed%20in%20the%20Knowledge%20Center%20preview%20page.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EYou%20can%20find%20the%20Linked%20Service%20for%20the%20downloaded%20sample%20dataset%20on%20the%20%3CSTRONG%3ELinked%3C%2FSTRONG%3E%20tab%20within%20the%20Data%20Hub.%20It%20is%20named%20%3CSTRONG%3Ebing-covid-19-data%3C%2FSTRONG%3E%20and%20can%20be%20found%20under%20%3CSTRONG%3EAzure%20Blob%20Storage%3C%2FSTRONG%3E%2C%20within%20the%20%3CSTRONG%3ESample%20datasets%3C%2FSTRONG%3E%20container.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_4-1607979639535.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240403i9BC59D0454822954%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_4-1607979639535.png%22%20alt%3D%22IgorStanko_4-1607979639535.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Linked%20Services%20tab%20of%20the%20Data%20Hub%2C%20the%20bing-covid-19-data%20folder%20is%20highlighted%20under%20the%20Azure%20Blob%20Storage%20Sample%20Datasets%20container.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSTRONG%3EQuery%20files%20in%20your%20data%20lake%20using%20a%20serverless%20SQL%20pool%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ENext%2C%20we%20want%20to%20open%20the%20dataset%20using%20a%20T-SQL%20query.%20After%20locating%20Linked%20Service%20for%20the%20Bing%20COVID-19%20sample%20dataset%2C%20select%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20ellipsis%20next%20to%20it%20to%20display%20the%20actions%20menu.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_5-1607979639541.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240401i86B8CFA3D8AA7DA6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_5-1607979639541.png%22%20alt%3D%22IgorStanko_5-1607979639541.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Actions%20menu%20ellipsis%20is%20highlighted%20next%20to%20the%20bing-covid-19-data%20sample%20dataset.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EIn%20the%20Action%20menu%2C%20select%20%3CSTRONG%3ENew%20SQL%20script%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ESelect%20TOP%201000%20rows%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_6-1607979639549.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240405i73D6D0DA6C432878%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_6-1607979639549.png%22%20alt%3D%22IgorStanko_6-1607979639549.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Actions%20menu%20for%20the%20sample%20dataset%2C%20New%20SQL%20script%20and%20Select%20TOP%20100%20rows%20are%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20previous%20action%20results%20in%20a%20new%20SQL%20script%20tab%20opening%20within%20Synapse%20Studio.%20This%20script%20contains%20the%20auto-generated%20T-SQL%20code%20for%20reading%20the%20top%20100%20rows%20of%20data%20from%20the%20%3CSPAN%3Ebing_covid-19_data.parquet%3C%2FSPAN%3E%20file%20located%20in%20Azure%20Storage.%20The%20query%20uses%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fsynapse-analytics%2Fsql%2Fdevelop-openrowset%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOPENROWSET(BULK%E2%80%A6)%20function%3C%2FA%3E%20to%20access%20files%20within%20the%20data%20lake.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAzure%20Synapse%20uses%20the%20%3CSPAN%3EOPENROWSET(BULK...)%3C%2FSPAN%3E%20function%20to%20enable%20accessing%20files%20in%20Azure%20Storage.%20The%20%3CSPAN%3EOPENROWSET%3C%2FSPAN%3E%20function%20reads%20the%20contents%20of%20an%20external%20data%20source%20and%20returns%20its%20content%20as%20a%20set%20of%20rows.%20The%20%3CSPAN%3EOPENROWSET%3C%2FSPAN%3E%20function%20is%20referenced%20in%20the%20%3CSPAN%3EFROM%3C%2FSPAN%3E%20clause%20of%20your%20query%2C%20allowing%20it%20to%20act%20as%20if%20it%20were%20a%20table%20named%20%3CSPAN%3EOPENROWSET%3C%2FSPAN%3E.%20A%20built-in%20%3CSPAN%3EBULK%3C%2FSPAN%3E%20provider%20enables%20data%20from%20files%20to%20be%20read%20and%20returned%20as%20a%20rowset.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20query%20data%20in%20the%20data%20lake%20using%20a%20serverless%20SQL%20pool%2C%20ensure%20that%20your%20serverless%20SQL%20pool%2C%20named%20%3CSTRONG%3EBuilt-in%3C%2FSTRONG%3E%2C%20is%20selected%20in%20the%20%3CSTRONG%3EConnect%20to%3C%2FSTRONG%3E%20box%20on%20the%20SQL%20script%20tab%E2%80%99s%20toolbar.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_7-1607979639551.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240404i418A49655E8BD460%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_7-1607979639551.png%22%20alt%3D%22IgorStanko_7-1607979639551.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20auto-generated%20T-SQL%20script%20is%20displayed%2C%20and%20the%20Connect%20to%20textbox%20containing%20Built-in%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESelect%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20on%20the%20SQL%20script%20tab%E2%80%99s%20toolbar%20to%20execute%20the%20query%20using%20the%20serverless%20SQL%20pool%20resource.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_8-1607979639560.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240406i0AB5C650CD84888E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_8-1607979639560.png%22%20alt%3D%22IgorStanko_8-1607979639560.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Run%20button%20is%20highlighted%20on%20the%20SQL%20script%20toolbar%2C%20and%20the%20results%20of%20the%20query%20execution%20are%20displayed%20in%20the%20Results%20pane.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSTRONG%3EExecute%20GROUP%20BY%20query%20with%20serverless%20SQL%20pool%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20previous%20query%20demonstrates%20how%20quickly%20you%20can%20query%20and%20explore%20data%20contained%20within%20files%20stored%20in%20Azure%20Storage.%20Now%2C%20let%E2%80%99s%20execute%20a%20query%20to%20perform%20some%20basic%20transformations%20on%20the%20sample%20dataset%20and%20calculate%20the%20average%20number%20of%20new%20daily%20confirmed%20cases%20and%20deaths%20by%20region.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EModify%20the%20code%20in%20the%20SQL%20script%20tab%20by%20making%20the%20following%20changes%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E-%20Replace%20%3CSPAN%3ETOP%20100%20*%3C%2FSPAN%3E%20with%20%3CSPAN%3ECountry_region%20AS%20Region%2C%20AVG(Confirmed_change)%20AS%20AverageDailyConfirmedCases%2C%20AVG(Deaths_change)%20AS%20AverageDailyDeaths%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E-%20Append%20%3CSPAN%3EGROUP%20BY%20Country_region%3C%2FSPAN%3E%20to%20the%20end%20of%20the%20query%2C%20before%20the%20%3CSPAN%3E%3B%3C%2FSPAN%3E%20after%20%3CSPAN%3E%5Bresult%5D%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EYour%20final%20query%20should%20look%20similar%20to%20the%20following%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%3E%3CEM%3ESELECT%3C%2FEM%3E%3C%2FSPAN%3E%3CEM%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Country_region%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20Region%2C%20%3C%2FSPAN%3E%3CSPAN%3EAVG%3C%2FSPAN%3E%3CSPAN%3E(Confirmed_change)%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20AverageDailyConfirmedCases%2C%20%3C%2FSPAN%3E%3CSPAN%3EAVG%3C%2FSPAN%3E%3CSPAN%3E(Deaths_change)%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20AverageDailyDeaths%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EFROM%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20OPENROWSET(%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3EBULK%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3E'%3CA%20href%3D%22https%3A%2F%2Fpandemicdatalake.blob.core.windows.net%2Fpublic%2Fcurated%2Fcovid-19%2Fbing_covid-19_data%2Flatest%2Fbing_covid-19_data.parquet%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpandemicdatalake.blob.core.windows.net%2Fpublic%2Fcurated%2Fcovid-19%2Fbing_covid-19_data%2Flatest%2Fbing_covid-19_data.parquet%3C%2FA%3E'%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20FORMAT%20%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%20%3CSPAN%3E'parquet'%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20)%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20%5Bresult%5D%20%3C%2FSPAN%3E%3CSPAN%3EGROUP%3C%2FSPAN%3E%20%3CSPAN%3EBY%3C%2FSPAN%3E%3CSPAN%3E%20Country_region%3B%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAs%20you%20did%20previously%2C%20execute%20the%20updated%20query%20by%20selecting%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20on%20the%20toolbar%20and%20observing%20the%20Results%20pane.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_9-1607979639567.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240407i0C7B9DE025892942%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_9-1607979639567.png%22%20alt%3D%22IgorStanko_9-1607979639567.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Run%20button%20is%20highlighted%20on%20the%20SQL%20script%20toolbar%2C%20and%20the%20updated%20SELECT%20and%20added%20GROUP%20BY%20statements%20are%20highlighted%20within%20the%20query.%20The%20results%20of%20the%20transformation%20query%20are%20displayed%20in%20the%20Results%20pane.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20serverless%20SQL%20pool%20supports%20the%20whole%20range%20of%20%3CSPAN%3EGROUP%20BY%3C%2FSPAN%3E%20options%2C%20giving%20you%20the%20ability%20to%20aggregate%20data%20stored%20in%20external%20files%20into%20a%20summary%20set%20of%20rows.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%223%22%3E%3CSTRONG%3ECreate%20an%20external%20table%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EWe%20will%20end%20our%20overview%20of%20using%20the%20serverless%20SQL%20pool%20resource%20by%20creating%20a%20serverless%20SQL%20pool%20database%20and%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fsynapse-analytics%2Fsql%2Fdevelop-tables-external-tables%3Ftabs%3Dsql-on-demand%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Edefining%20an%20external%20table%3C%2FA%3E.%20The%20serverless%20SQL%20pool%20is%20an%20interactive%20query%20service%20over%20external%20data%20in%20Azure%20storage.%20As%20such%2C%20you%20cannot%20create%20tables%20in%20serverless%20SQL%20pool%20databases.%20You%20can%2C%20however%2C%20define%20external%20tables%20using%20the%20%3CSPAN%3ECREATE%20EXTERNAL%20TABLE%3C%2FSPAN%3E%20T-SQL%20command.%20External%20tables%20point%20to%20data%20located%20in%20Hadoop%2C%20Azure%20Storage%20blob%2C%20or%20Azure%20Data%20Lake%20Storage.%20For%20the%20serverless%20SQL%20pool%2C%20you%20can%20use%20external%20tables%20to%20query%20data%20in%20Azure%20Storage%20using%20T-SQL%20statements.%20You%20can%20also%20use%20external%20tables%20to%20write%20serverless%20SQL%20pool%20query%20results%20to%20files%20in%20Azure%20Storage.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAs%20you%20did%20earlier%2C%20select%20the%20%3CSTRONG%3EAction%3C%2FSTRONG%3E%20menu%20ellipsis%20for%20the%20%3CSPAN%3Ebing-covid-19-data%3C%2FSPAN%3E%20Linked%20Service%2C%20but%20this%20time%20select%20%3CSTRONG%3ENew%20SQL%20script%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ECreate%20external%20table%3C%2FSTRONG%3E%20from%20the%20menu.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_10-1607979639575.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240408i216B14F43566A97F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_10-1607979639575.png%22%20alt%3D%22IgorStanko_10-1607979639575.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Actions%20menu%20for%20the%20sample%20dataset%2C%20New%20SQL%20script%20and%20Create%20external%20table%20are%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Create%20external%20table%20dialog%2C%20ensure%20%3CSTRONG%3EBuilt-in%3C%2FSTRONG%3E%20is%20selected%20in%20the%20SQL%20pool%20dropdown%2C%20then%20select%20%3CSTRONG%3ESelect%20a%20database%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3E%2B%20New%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_11-1607979639593.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240409iCFC3BAF4144D3AF2%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_11-1607979639593.png%22%20alt%3D%22IgorStanko_11-1607979639593.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Create%20external%20table%20dialog%2C%20New%20is%20highlighted%20under%20Select%20a%20database.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Create%20SQL%20database%20dialog%2C%20enter%20%3CSTRONG%3EServerlessSql%3C%2FSTRONG%3E%20in%20the%20Name%20field%20and%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_12-1607979639599.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240410i110A528DBCBD8DEF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_12-1607979639599.png%22%20alt%3D%22IgorStanko_12-1607979639599.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EServerlessSql%20is%20entered%20into%20the%20Name%20box%20and%20highlighted%20on%20the%20Create%20SQL%20database%20dialog.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EBack%20on%20the%20Create%20external%20table%20dialog%2C%20enter%20%3CSTRONG%3EBingCovidData%3C%2FSTRONG%3E%20into%20the%20External%20table%20name%20field%20and%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_13-1607979639617.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240412i771F75360A4D337E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_13-1607979639617.png%22%20alt%3D%22IgorStanko_13-1607979639617.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EBingCovidData%20is%20entered%20into%20the%20External%20table%20name%20field%2C%20and%20the%20Create%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EA%20new%20T-SQL%20script%20tab%20will%20open%20in%20Synapse%20Studio%20with%20the%20code%20to%20create%20an%20external%20table%20from%20the%20data%20lake%20file.%20This%20auto-generated%20script%20contains%20the%20three%20steps%20necessary%20to%20create%20an%20external%20table%20using%20serverless%20SQL%20pool.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E-%20Create%20an%20external%20file%20format%20to%20specify%20the%20actual%20layout%20of%20the%20data%20referenced%20by%20the%20external%20table.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E-%20Create%20an%20external%20data%20source%2C%20which%20is%20used%20to%20connect%20to%20your%20storage%20account.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E-%20Create%20an%20external%20table%20to%20generate%20an%20external%20table%20that%20enables%20Azure%20Synapse%20to%20access%20data%20stored%20in%20Azure%20Storage.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_14-1607979639631.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240411i7D77D1C02DAC7884%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_14-1607979639631.png%22%20alt%3D%22IgorStanko_14-1607979639631.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20three%20steps%2C%20(1)%20create%20an%20external%20file%2C%20(2)%20create%20an%20external%20data%20source%2C%20and%20(3)%20create%20an%20external%20table%2C%20are%20highlighted%20within%20the%20auto-generated%20T-SQL%20code.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20script%20also%20contains%20a%20%3CSPAN%3ESELECT%20TOP%20100%3C%2FSPAN%3E%20statement%20to%20query%20the%20newly%20created%20external%20table.%20Before%20running%20the%20query%2C%20verify%20the%20%3CSTRONG%3EConnect%20to%3C%2FSTRONG%3E%20box%20is%20set%20to%20%3CSTRONG%3EBuilt-in%3C%2FSTRONG%3E%20and%20note%20the%20value%20in%20the%20%3CSTRONG%3EUse%20database%3C%2FSTRONG%3E%20dropdown.%20The%20database%20is%20set%20to%20the%20new%20SQL%20database%20created%20when%20you%20were%20generating%20the%20script%20for%20creating%20the%20external%20table.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESelect%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20from%20the%20toolbar%20to%20execute%20the%20query%20to%20create%20and%20query%20the%20%3CSPAN%3EBingCovidData%3C%2FSPAN%3E%20external%20table.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_15-1607979639646.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240415iFE58771CCDAC5D8E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_15-1607979639646.png%22%20alt%3D%22IgorStanko_15-1607979639646.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EBuilt-in%20is%20highlighted%20in%20the%20Connect%20to%20box%2C%20and%20the%20new%20ServerlessSql%20database%20is%20selected%20in%20the%20Use%20database%20dropdown.%20The%20Run%20button%20is%20highlighted%20on%20the%20toolbar.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20newly%20defined%20database%20and%20the%20external%20table%20will%20now%20be%20accessible%20on%20the%20Data%20Hub%E2%80%99s%20%3CSTRONG%3EWorkspace%3C%2FSTRONG%3E%20tab%2C%20under%20Databases.%20From%20here%2C%20you%20can%20query%20the%20table%20just%20like%20you%20would%20any%20table%20in%20a%20SQL%20database.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_16-1607979639653.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240414iB5604A68C86AA9DA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_16-1607979639653.png%22%20alt%3D%22IgorStanko_16-1607979639653.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Data%20Hub%E2%80%99s%20Workspace%20tab%2C%20the%20ServerlessSql%20database%20and%20External%20tables%20are%20expanded%2C%20and%20the%20dbo.BingCovidData%20table%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EYou%20may%20need%20to%20select%20the%20%3CSTRONG%3ERefresh%3C%2FSTRONG%3E%20button%20in%20the%20top%20right%20corner%20of%20Synapse%20Studio%20to%20see%20the%20database.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EWith%20each%20of%20these%20queries%2C%20as%20with%20all%20queries%20executed%20using%20a%20serverless%20SQL%20pool%2C%20you%20are%20only%20charged%20for%20the%20data%20processed%20by%20queries%20you%20run.%20This%20pay-per-use%20model%20helps%20provide%20a%20cost-effective%20way%20to%20explore%20data%20and%20execute%20ad-hoc%20queries%20against%20external%20data.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E2.%20Dedicated%20SQL%20pool%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20exercise%20enterprise%20data%20warehousing%20features%20available%20in%20Azure%20Synapse%2C%20provision%20and%20use%20dedicated%20SQL%20pools.%20Data%20is%20stored%20in%20tables%20with%20columnar%20storage%2C%20significantly%20reducing%20data%20storage%20costs%20and%20improving%20query%20performance.%20Once%20information%20is%20stored%2C%20you%20can%20run%20analytics%20at%20a%20massive%20scale.%20Compared%20to%20traditional%20database%20systems%2C%20queries%20finish%20in%20seconds%20instead%20of%20minutes%20or%20hours%20instead%20of%20days.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAfter%20you%20create%20a%20dedicated%20SQL%20pool%20in%20your%20Synapse%20workspace%2C%20you%20can%20import%20big%20data%20using%20simple%20to%20use%20COPY%20statement%20and%20then%20use%20the%20power%20of%20the%20distributed%20query%20engine%20to%20run%20high-performance%20analytics.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CFONT%20size%3D%223%22%3E%3CSTRONG%3EAdd%20a%20dedicated%20SQL%20pool%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThere%20are%20two%20paths%20you%20can%20use%20to%20add%20a%20dedicated%20SQL%20pool%20to%20your%20Synapse%20workspace.%20You%20can%20create%20one%20via%20the%20Azure%20portal%20or%20from%20within%20Synapse%20Studio.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EFrom%20the%20Azure%20portal%2C%20select%20the%20%3CSTRONG%3ENew%20dedicated%20SQL%20pool%3C%2FSTRONG%3E%20link%20from%20your%20Synapse%20workspace%20blade.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_17-1607979639658.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240413i18A0C19FEE6D85FB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_17-1607979639658.png%22%20alt%3D%22IgorStanko_17-1607979639658.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20new%20dedicated%20SQL%20pool%20button%20is%20highlighted%20on%20the%20toolbar%20of%20a%20Synapse%20workspace%20blade%20in%20the%20Azure%20portal.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20add%20a%20dedicated%20SQL%20pool%20to%20your%20Synapse%20workspace%20from%20within%20Synapse%20Studio%2C%20navigate%20to%20the%20Manage%20Hub%2C%20select%20SQL%20pools%2C%20and%20then%20select%20the%20%3CSTRONG%3ENew%3C%2FSTRONG%3E%20button.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_18-1607979639663.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240416iE821660559A868B2%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_18-1607979639663.png%22%20alt%3D%22IgorStanko_18-1607979639663.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EIn%20Synapse%20Studio%2C%20the%20Manage%20Hub%20and%20SQL%20pools%20are%20selected%2C%20and%20the%20New%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20Manage%20Hub%20in%20Synapse%20Studio%20allows%20you%20to%20view%20and%20manage%20your%20SQL%20pools.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20process%20for%20creating%20the%20new%20dedicated%20SQL%20pool%20is%20the%20same%20after%20that.%20On%20the%20%3CSTRONG%3ECreate%20dedicated%20SQL%20pool%3C%2FSTRONG%3E%20Basics%20tab%2C%20you%20specify%20a%20name%20for%20your%20dedicated%20SQL%20pool%20and%20choose%20your%20desired%20performance%20level.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_19-1607979639667.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240417i5B407A0C4D93DE65%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_19-1607979639667.png%22%20alt%3D%22IgorStanko_19-1607979639667.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Create%20dedicated%20SQL%20pool%20dialog%20is%20displayed%2C%20with%20DedicatedSql%20entered%20into%20the%20SQL%20pool%20name%20field.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20performance%20level%20can%20range%20from%20DW100c%20to%20DW30000c.%20To%20learn%20more%20about%20resource%20consumption%2C%20check%20out%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fsynapse-analytics%2Fsql%2Fresource-consumption-models%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESynapse%20SQL%20resource%20consumption%3C%2FA%3E%20article%20in%20the%20Azure%20Synapse%20Analytics%20documentation.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EYou%20can%20then%20select%20%3CSTRONG%3EReview%20%2B%20create%3C%2FSTRONG%3E%2C%20which%20sets%20the%20default%20values%20in%20the%20Additional%20settings%20tab.%20Then%2C%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E%20to%20provision%20your%20dedicated%20SQL%20pool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_20-1607979639673.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240418iBAB064F39349B786%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_20-1607979639673.png%22%20alt%3D%22IgorStanko_20-1607979639673.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EA%20summary%20of%20the%20configure%20settings%20for%20the%20dedicated%20SQL%20pool%20is%20displayed%2C%20and%20the%20Create%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSTRONG%3E%3CFONT%20size%3D%223%22%3ECreate%20an%20external%20table%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EAs%20with%20serverless%20SQL%20pool%2C%20we%20can%20create%20external%20tables%20in%20dedicated%20SQL%20pool%20to%20provide%20pointers%20to%20external%20data.%20As%20you%20did%20previously%20for%20the%20serverless%20SQL%20pool%20queries%2C%20navigate%20to%20the%20%3CSTRONG%3ELinked%3C%2FSTRONG%3E%20tab%20of%20the%20Data%20Hub%2C%20select%20the%20%3CSTRONG%3EAction%3C%2FSTRONG%3E%20menu%20ellipsis%20for%20the%20%3CSPAN%3Ebing-covid-19-data%3C%2FSPAN%3E%20Linked%20Service%2C%20then%20select%20%3CSTRONG%3ENew%20SQL%20script%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ECreate%20external%20table%3C%2FSTRONG%3E%20from%20the%20menu.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_21-1607979639681.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240420i98F28DA035260BE7%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_21-1607979639681.png%22%20alt%3D%22IgorStanko_21-1607979639681.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EOn%20the%20Actions%20menu%20for%20the%20sample%20dataset%2C%20New%20SQL%20script%20and%20Create%20external%20table%20are%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Create%20external%20table%20dialog%2C%20select%20your%20dedicated%20SQL%20pool%2C%20%3CSTRONG%3EDedicatedSql%3C%2FSTRONG%3E%2C%20in%20the%20Select%20SQL%20pool%20dropdown%2C%20and%20then%20enter%20%3CSTRONG%3EBingCovidData%3C%2FSTRONG%3E%20as%20the%20external%20table%20name%2C%20and%20select%20%3CSTRONG%3ECreate%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_22-1607979639697.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240421iC9590D9B5B1F5A83%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_22-1607979639697.png%22%20alt%3D%22IgorStanko_22-1607979639697.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20create%20external%20table%20dialog%20is%20displayed%20with%20the%20dedicated%20SQL%20pool%20selected%20and%20BingCovidData%20entered%20into%20the%20external%20table%20name%20field.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESelect%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20on%20the%20toolbar%20to%20execute%20the%20script%20and%20create%20the%20external%20table.%20When%20the%20script%20execution%20completes%2C%20select%20the%20%3CSTRONG%3EWorkspace%3C%2FSTRONG%3E%20tab%20within%20the%20Data%20Hub%20and%20expand%20%3CSTRONG%3EDedicatedSql%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EExternal%20Tables%3C%2FSTRONG%3E%20under%20databases%20to%20view%20the%20new%20external%20table.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_23-1607979639705.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240419i6588B1FDC16D4185%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_23-1607979639705.png%22%20alt%3D%22IgorStanko_23-1607979639705.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20BingCovidData%20external%20table%20is%20highlighted%20in%20the%20DedicatedSql%20database%20on%20the%20Data%20Hub.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ESelect%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20ellipsis%20next%20to%20%3CSPAN%3EBingCovidData%3C%2FSPAN%3E%20and%20select%20%3CSTRONG%3ENew%20SQL%20script%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ESelect%20TOP%20100%20rows%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_24-1607979639715.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240423i49EAD5603C14454E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_24-1607979639715.png%22%20alt%3D%22IgorStanko_24-1607979639715.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3ESelect%20top%20100%20rows%20is%20highlighted%20in%20the%20Actions%20menu.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EExecute%20the%20query%20by%20selecting%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20from%20the%20toolbar%2C%20as%20you%20have%20done%20previously%2C%20to%20view%20the%20table%E2%80%99s%20data.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSTRONG%3E%3CFONT%20size%3D%223%22%3ECreate%20table%20in%20the%20data%20warehouse%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20simplest%20and%20fastest%20way%20to%20create%20a%20table%20in%20the%20data%20warehouse%20is%20to%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fsql%2Ft-sql%2Fstatements%2Fcreate-table-as-select-azure-sql-data-warehouse%3Ftoc%3D%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Ftoc.json%26amp%3Bbc%3D%2Fazure%2Fsynapse-analytics%2Fsql-data-warehouse%2Fbreadcrumb%2Ftoc.json%26amp%3Bview%3Dazure-sqldw-latest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECREATE%20TABLE%20AS%20SELECT%3C%2FA%3E%20(CTAS)%20statement.%20CTAS%20is%20one%20of%20the%20most%20important%20T-SQL%20features%20available%20in%20dedicated%20SQL%20pool.%20It%20creates%20a%20new%20table%20based%20on%20the%20output%20of%20a%20%3CSPAN%3ESELECT%3C%2FSPAN%3E%20statement.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20demonstrate%20how%20to%20use%20the%20CTAS%20statement%2C%20let%E2%80%99s%20use%20it%20to%20copy%20aggregated%20data%20from%20the%20%3CSPAN%3EBingCovidData%3C%2FSPAN%3E%20external%20table%20into%20a%20new%20table%20in%20the%20data%20warehouse.%20Select%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20ellipsis%20next%20to%20the%20%3CSPAN%3EDedicatedSql%20(SQL)%3C%2FSPAN%3E%20database%2C%20and%20then%20select%20%3CSTRONG%3ENew%20SQL%20script%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EEmpty%20script%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EIn%20the%20empty%20SQL%20script%20pane%2C%20paste%20the%20following%20code%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%3CSPAN%3E%3CEM%3ECREATE%3C%2FEM%3E%3C%2FSPAN%3E%20%3CSPAN%3E%3CEM%3ETABLE%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%3CEM%3E%20%5Bdbo%5D.%5BCovidRegionalDailySummary%5D%3C%2FEM%3E%3C%2FSPAN%3E%3CEM%3E%3CBR%20%2F%3E%3CSPAN%3EWITH%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DISTRIBUTION%20%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%20ROUND_ROBIN%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20CLUSTERED%20COLUMNSTORE%20%3C%2FSPAN%3E%3CSPAN%3EINDEX%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E)%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3ESELECT%3C%2FSPAN%3E%20%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Country_region%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20Region%2C%20%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3EAVG%3C%2FSPAN%3E%3CSPAN%3E(Confirmed_change)%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20AverageDailyConfirmedCases%2C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3EAVG%3C%2FSPAN%3E%3CSPAN%3E(Deaths_change)%20%3C%2FSPAN%3E%3CSPAN%3EAS%3C%2FSPAN%3E%3CSPAN%3E%20AverageDailyDeaths%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EFROM%3C%2FSPAN%3E%3CSPAN%3E%20%5Bdbo%5D.%5BBingCovidData%5D%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EGROUP%3C%2FSPAN%3E%20%3CSPAN%3EBY%3C%2FSPAN%3E%3CSPAN%3E%20Country_region%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-60px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EWith%20CTAS%2C%20we%20specify%20the%20new%20table%20name%20with%20the%20%3CSPAN%3ECREATE%20TABLE%3C%2FSPAN%3E%20statement%20and%20can%20also%20specify%20both%20the%20distribution%20of%20the%20table%20data%20and%20the%20table%20structure%20type.%20We%20complete%20the%20statement%20with%20the%20%3CSPAN%3EAS%20SELECT%3C%2FSPAN%3E%20statement%20and%20specify%20the%20source%20table%20in%20the%20%3CSPAN%3EFROM%3C%2FSPAN%3E%20clause.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EExecute%20the%20script%20to%20create%20the%20%3CSPAN%3ECovidRegionalDailySummary%3C%2FSPAN%3E%20in%20your%20data%20warehouse.%20You%20can%20then%20find%20the%20new%20table%20under%20%3CSTRONG%3ETables%3C%2FSTRONG%3E%20in%20the%20%3CSPAN%3EDedicatedSql%20(SQL)%3C%2FSPAN%3E%20database%20on%20the%20Data%20Hub%E2%80%99s%20Workspace%20tab.%20Select%20the%20tables%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20ellipsis%20and%20create%20a%20new%20Select%20TOP%20100%20rows%20query.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_25-1607979639721.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240424i3CA573BD3445591D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_25-1607979639721.png%22%20alt%3D%22IgorStanko_25-1607979639721.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20CovidRegionalDailySummary%20table%20is%20highlighted%20under%20Tables%20in%20the%20dedicated%20SQL%20pool.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EExecute%20the%20query%20and%20observe%20the%20results.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_26-1607979639725.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240422i14B315BDD04A3E3F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_26-1607979639725.png%22%20alt%3D%22IgorStanko_26-1607979639725.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20results%20of%20the%20new%20aggregated%20data%20table%20are%20displayed.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1307682135%22%20id%3D%22toc-hId-1307682135%22%20id%3D%22toc-hId-1307682135%22%20id%3D%22toc-hId-1307682135%22%3ECost%20control%3C%2FH2%3E%0A%3CP%3EThe%20ability%20to%20use%20serverless%20and%20dedicated%20SQL%20pools%20grants%20you%20flexibility%20in%20controlling%20costs.%20And%20the%20separation%20of%20storage%20and%20compute%20allows%20you%20to%20maintain%20better%20cost%20control%20for%20your%20resources%20There%20are%20also%20additional%20cost%20control%20options%20available%20from%20the%20Manage%20Hub%20in%20the%20Synapse%20Studio.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E1.%20Serverless%20SQL%20pool%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EServerless%20SQL%20pool%20is%20a%20pay%20per%20query%20service%20that%20automatically%20adjusts%20based%20on%20your%20requirements.%20The%20service%20frees%20you%20from%20managing%20infrastructure%20and%20needing%20to%20pick%20the%20right%20size%20for%20your%20solution.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EThe%20cost%20control%20feature%20for%20a%20serverless%20SQL%20pool%20enables%20you%20to%20set%20one%20or%20more%20budgets%20for%20the%20amount%20of%20data%20(in%20TB)%20that%20can%20be%20processed%20in%20a%20day%2C%20week%2C%20or%20month.%20To%20configure%20cost%20control%20for%20serverless%20SQL%20pool%20in%20the%20Synapse%20Studio%2C%20navigate%20to%20Manage%20Hub%20and%20select%20SQL%20pool%20under%20Analytics%20pools.%20As%20you%20hover%20over%20the%20serverless%20SQL%20pool%2C%20the%20cost%20control%20icon%20will%20become%20visible.%20Select%20this%20icon%20to%20open%20the%20cost%20control%20dialog.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_27-1607979639728.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240425iB542D7FE1E523575%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_27-1607979639728.png%22%20alt%3D%22IgorStanko_27-1607979639728.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Cost%20Control%20icon%20is%20highlighted%20for%20the%20serverless%20SQL%20pool.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Cost%20Control%20dialog%2C%20you%20can%20select%20the%20workspace%20budget%20limit%2C%20depending%20on%20your%20requirements.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_28-1607979639739.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240427i47140FD9CA8EDCB3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_28-1607979639739.png%22%20alt%3D%22IgorStanko_28-1607979639739.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Cost%20Control%20dialog%20and%20its%20various%20options%20are%20displayed.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%224%22%3E2.%20Dedicated%20SQL%20pool%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EControlling%20costs%20for%20your%20dedicated%20SQL%20pool%20is%20handled%20by%20pausing%20the%20SQL%20pool%20or%20scaling%20down.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20pause%20your%20dedicated%20SQL%20pool%20in%20Synapse%20Studio%2C%20simply%20navigate%20to%20Manage%20Hub%20and%20select%20SQL%20pool%20under%20Analytics%20pools.%20As%20you%20hover%20over%20the%20dedicated%20SQL%20pool%2C%20the%20pause%20icon%20will%20become%20visible.%20Select%20this%20icon%20to%20pause%20the%20dedicated%20SQL%20pool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_29-1607979639742.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240426i3BC8BA734C881E4C%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_29-1607979639742.png%22%20alt%3D%22IgorStanko_29-1607979639742.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20pause%20icon%20is%20highlighted%20for%20the%20dedicated%20SQL%20pool.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ETo%20scale%20the%20dedicated%20SQL%20pool%20in%20the%20Synapse%20Studio%2C%20navigate%20to%20Manage%20Hub%20and%20select%20SQL%20pool%20under%20Analytics%20pools.%20As%20you%20hover%20over%20the%20dedicated%20SQL%20pool%2C%20the%20scale%20icon%20will%20become%20visible.%20Select%20this%20icon%20to%20open%20the%20scale%20dialog.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_30-1607979639745.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240428i6767A834E61F75B6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_30-1607979639745.png%22%20alt%3D%22IgorStanko_30-1607979639745.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20scale%20icon%20is%20highlighted%20for%20the%20dedicated%20SQL%20pool.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EOn%20the%20Scale%20dialog%2C%20select%20the%20desired%20performance%20level%20and%20select%20Apply.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_31-1607979639751.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240429i0525116891F3CF55%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_31-1607979639751.png%22%20alt%3D%22IgorStanko_31-1607979639751.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%3CEM%3EThe%20Scale%20dialog%20for%20the%20dedicated%20SQL%20pool%20is%20displayed.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--499772328%22%20id%3D%22toc-hId--499772328%22%20id%3D%22toc-hId--499772328%22%20id%3D%22toc-hId--499772328%22%3EConclusion%3C%2FH2%3E%0A%3CP%3EThis%20post%20discussed%20using%20both%20serverless%20and%20dedicated%20SQL%20pools%20to%20perform%20queries%20and%20analysis%20on%20your%20data.%20The%20ability%20to%20use%20dedicated%20and%20serverless%20SQL%20pools%20within%20a%20single%20Synapse%20workspace%20empowers%20you%20to%20choose%20the%20most%20cost-effective%20option%20for%20each%20of%20your%20analytics%20workloads.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETry%20out%20this%20tutorial%20today%20by%20creating%20an%20Azure%20Synapse%20workspace%20with%20a%20dedicated%20SQL%20pool.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Ffree%2Fsynapse-analytics%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESign%20up%20for%20an%20Azure%20free%20account%3C%2FA%3E%26nbsp%3Band%20receive%20%24200%20of%20credit%20to%20try%20Azure%20Synapse%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fquickstart-create-workspace%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20an%20Azure%20Synapse%20workspace%20in%20minutes%3C%2FA%3E%26nbsp%3Bto%20access%20these%20new%20features%3C%2FLI%3E%0A%3CLI%3EEmbark%20on%20your%20Azure%20Synapse%20self-study%20journey%20with%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Faka.ms%252FAzureLearn_SynapseAnalytics%26amp%3Bdata%3D04%257C01%257CKaiser.Larsen%2540microsoft.com%257Ca93118ee4aa446b41ffc08d89bb657fa%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C1%257C637430554742229151%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DR8Y9wc8ixh%252FshXOf7o26cw1NmqNHGh7975Xfk2k6%252FK8%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMicrosoft%20Learn%20materials%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ECheck%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fsynapse-ga%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20blog%20daily%20to%20see%20a%20roundup%20of%20all%20the%20new%20tutorial%20blogs%20that%3C%2FA%3E%26nbsp%3Bwill%20be%20posted%20for%20the%20next%20two%20weeks.%3C%2FLI%3E%0A%3CLI%3E%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IgorStanko_32-1607979639752.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240430i8261CD3E113397AD%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IgorStanko_32-1607979639752.jpeg%22%20alt%3D%22IgorStanko_32-1607979639752.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1986861%22%20slang%3D%22en-US%22%3E%3CDIV%3EUse%20this%20step-by-step%20tutorial%20focused%20on%20how%20and%20when%20to%20use%20the%20serverless%20and%20dedicated%20SQL%20pools%20in%20Azure%20Synapse%20Analytics.%3C%2FDIV%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1986861%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESynapse%20SQL%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2275044%22%20slang%3D%22en-US%22%3ERe%3A%20Analyze%20and%20explore%20data%20with%20T-SQL%20in%20Azure%20Synapse%20Analytics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275044%22%20slang%3D%22en-US%22%3E%3CP%3Ereally%20amazing%20article%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Dec 17 2020 09:51 AM
Updated by: