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/quickstart-sql-on-demand.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: Using SQL on-demand (preview)
2
+
title: Use SQL on-demand (preview)
3
3
description: In this quickstart, you'll see and learn how easy is to query various types of files using SQL on-demand (preview).
4
4
services: synapse-analytics
5
5
author: azaricstefan
@@ -11,11 +11,11 @@ ms.author: v-stazar
11
11
ms.reviewer: jrasnick
12
12
---
13
13
14
-
# Quickstart: Using SQL on-demand
14
+
# Quickstart: Use SQL on-demand
15
15
16
16
Synapse SQL on-demand (preview) is a serverless query service that enables you to run SQL queries on files placed in Azure Storage. In this quickstart, you'll learn how to query various types of files using SQL on-demand. Supported formats are listed in [OPENROWSET](sql/develop-openrowset.md).
17
17
18
-
This quickstart shows querying for CSV, Apache Parquet, and JSON files.
18
+
This quickstart shows querying: CSV, Apache Parquet, and JSON files.
19
19
20
20
## Prerequisites
21
21
@@ -25,7 +25,7 @@ Choose a SQL client to issue queries:
25
25
-[Azure Data Studio](sql/get-started-azure-data-studio.md) is a client tool that enables you to run SQL queries and notebooks on your On-demand database.
26
26
-[SQL Server Management Studio](sql/get-started-ssms.md) is a client tool that enables you to run SQL queries on your On-demand database.
The following image is a preview of the file to be queried:
90
90
@@ -113,7 +113,7 @@ WHERE
113
113
You can specify schema at query compilation time.
114
114
For more examples, see how to [query CSV file](sql/query-single-csv-file.md).
115
115
116
-
## Querying parquet files
116
+
## Query Parquet files
117
117
118
118
The following sample shows the automatic schema inference capabilities for querying Parquet files. It returns the number of rows in September of 2017 without specifying schema.
119
119
@@ -131,7 +131,7 @@ FROM OPENROWSET
131
131
132
132
Find more information about [querying parquet files](sql/query-parquet-files.md).
133
133
134
-
## Querying JSON files
134
+
## Query JSON files
135
135
136
136
### JSON sample file
137
137
@@ -153,7 +153,7 @@ Files are stored in *json* container, folder *books*, and contain single book en
153
153
}
154
154
```
155
155
156
-
### Querying JSON files
156
+
### Query JSON files
157
157
158
158
The following query shows how to use [JSON_VALUE](/sql/t-sql/functions/json-value-transact-sql?toc=/azure/synapse-analytics/toc.json&bc=/azure/synapse-analytics/breadcrumb/toc.json&view=azure-sqldw-latest) to retrieve scalar values (title, publisher) from a book with the title *Probabilistic and Statistical Methods in Cryptology, An Introduction by Selected articles*:
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql/create-external-table-as-select.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.reviewer: jrasnick, carlrab
13
13
14
14
# Store query results to storage using SQL on-demand (preview) using Azure Synapse Analytics
15
15
16
-
In this article, you'll learn how to store query results to the storage using SQL On-demand (preview).
16
+
In this article, you'll learn how to store query results to storage using SQL On-demand (preview).
17
17
18
18
## Prerequisites
19
19
@@ -24,7 +24,7 @@ Your first step is to review the articles below and make sure you've met the pre
24
24
25
25
## Create external table as select
26
26
27
-
You can use CREATE EXTERNAL TABLE AS SELECT (CETAS) statement to store the query results to the storage.
27
+
You can use the CREATE EXTERNAL TABLE AS SELECT (CETAS) statement to store the query results to storage.
28
28
29
29
> [!NOTE]
30
30
> Change the first line in the query, i.e., [mydbname], so you're using the database you created. If you have not created a database, please read [First-time setup](query-data-storage.md#first-time-setup). You need to change LOCATION for MyDataSource external data source to point to location you have write permission for.
@@ -69,9 +69,9 @@ FROM
69
69
70
70
```
71
71
72
-
## Use a external table created
72
+
## Use the external table
73
73
74
-
You can use external table created through CETAS like a regular external table.
74
+
You can use the external table created through CETAS like a regular external table.
75
75
76
76
> [!NOTE]
77
77
> Change the first line in the query, i.e., [mydbname], so you're using the database you created. If you have not created a database, please read [First-time setup](query-data-storage.md#first-time-setup).
@@ -91,4 +91,4 @@ ORDER BY
91
91
92
92
## Next steps
93
93
94
-
For information on how to query different file types, refer to the [Query single CSV file](query-single-csv-file.md), [Query Parquet files](query-parquet-files.md), and [Query JSON files](query-json-files.md) articles.
94
+
For more information on how to query different file types, refer to the [Query single CSV file](query-single-csv-file.md), [Query Parquet files](query-parquet-files.md), and [Query JSON files](query-json-files.md) articles.
0 commit comments