You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/get-started-analyze-sql-on-demand.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.reviewer: whhender, wiassaf
7
7
ms.service: azure-synapse-analytics
8
8
ms.subservice: sql
9
9
ms.topic: tutorial
10
-
ms.date: 02/15/2023
10
+
ms.date: 09/16/2024
11
11
---
12
12
13
13
# Analyze data with a serverless SQL pool
@@ -18,16 +18,16 @@ In this tutorial, you'll learn how to analyze data with serverless SQL pool.
18
18
19
19
Serverless SQL pools let you use SQL without having to reserve capacity. Billing for a serverless SQL pool is based on the amount of data processed to run the query and not the number of nodes used to run the query.
20
20
21
-
Every workspace comes with a pre-configured serverless SQL pool called **Built-in**.
21
+
Every workspace comes with a preconfigured serverless SQL pool called **Built-in**.
22
22
23
23
## Analyze NYC Taxi data with a serverless SQL pool
24
24
25
25
> [!NOTE]
26
26
> Make sure you have [placed the sample data into the primary storage account](get-started-create-workspace.md#place-sample-data-into-the-primary-storage-account)
27
27
28
-
1. In Synapse Studio, go to the **Develop** hub
28
+
1. In the Synapse Studio, go to the **Develop** hub
29
29
1. Create a new SQL script.
30
-
1. Paste the following code into the script.
30
+
1. Paste the following code into the script. (Update `contosolake` to the name of your storage account and `users` with the name of your container.)
31
31
32
32
```sql
33
33
SELECT
@@ -38,7 +38,8 @@ Every workspace comes with a pre-configured serverless SQL pool called **Built-i
38
38
FORMAT='PARQUET'
39
39
) AS [result]
40
40
```
41
-
1. Select**Run**.
41
+
42
+
1. Select**Run**.
42
43
43
44
Data exploration is just a simplified scenario where you can understand the basic characteristics of your data. Learn more about data exploration and analysis in this [tutorial](sql/tutorial-data-analyst.md).
44
45
@@ -51,23 +52,23 @@ However, as you continue data exploration, you might want to create some utility
51
52
- Database users with the permissions to access some data sources or database objects.
52
53
- Utility views, procedures, and functions that you can use in the queries.
53
54
54
-
1. Use the `master` database to create a separate database for custom database objects. Custom database objects, cannot be created in the `master` database.
55
+
1. Use the `master` database to create a separate database for custom database objects. Custom database objects can't be created in the `master` database.
55
56
56
57
```sql
57
58
CREATE DATABASE DataExplorationDB
58
59
COLLATE Latin1_General_100_BIN2_UTF8
59
60
```
60
61
61
62
> [!IMPORTANT]
62
-
> Use a collation with `_UTF8` suffix to ensure that UTF-8 text is properly converted to `VARCHAR` columns. `Latin1_General_100_BIN2_UTF8` provides the best performance in the queries that read data from Parquet files and Azure Cosmos DB containers. For more information on changing collations, refer to [Collation types supported for Synapse SQL](sql/reference-collation-types.md).
63
+
> Use a collation with `_UTF8` suffix to ensure that UTF-8text is properly converted to `VARCHAR` columns. `Latin1_General_100_BIN2_UTF8` provides the best performance in the queries that read data from Parquet files and Azure Cosmos DB containers. For more information on changing collations, see [Collation types supported for Synapse SQL](sql/reference-collation-types.md).
63
64
64
65
1. Switch the database context from`master` to `DataExplorationDB` using the following command. You can also use the UI control **use database** to switch your current database:
65
66
66
67
```sql
67
68
USE DataExplorationDB
68
69
```
69
70
70
-
1. From `DataExplorationDB`, create utility objects such as credentials and data sources.
71
+
1. From`DataExplorationDB` create utility objects such as credentials and data sources.
0 commit comments