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: azure-sql/database/elastic-query-getting-started.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Report Across Scaled-Out Cloud Databases
3
-
description: Use cross database database queries to report across multiple databases.
3
+
description: Use cross database queries to report across multiple databases.
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: bgavrilovic, mathoma
@@ -28,9 +28,9 @@ Download and run the [Get started with Elastic Database Tools](elastic-scale-get
28
28
29
29
## Create a shard map manager using the sample app
30
30
31
-
Here you will create a shard map manager along with several shards, followed by insertion of data into the shards. If you happen to already have shards setup with sharded data in them, you can skip the following steps and move to the next section.
31
+
Here you'll create a shard map manager along with several shards, followed by insertion of data into the shards. If you happen to already have shards set up with sharded data in them, you can skip the following steps and move to the next section.
32
32
33
-
1. Build and run the **Getting started with Elastic Database tools** sample application by following the steps in the article section [Download and run the sample app](elastic-scale-get-started.md#download-and-run-the-sample-app-1). Once you finish all the steps, you will see the following command prompt:
33
+
1. Build and run the **Getting started with Elastic Database tools** sample application by following the steps in the article section [Download and run the sample app](elastic-scale-get-started.md#download-and-run-the-sample-app-1). Once you finish all the steps, you'll see the following command prompt:
34
34
35
35
:::image type="content" source="media/elastic-query-getting-started/cmd-prompt.png" alt-text="Screenshot from the command prompt of the Elastic Database Tools starter kit.":::
36
36
@@ -45,10 +45,10 @@ Here you will create a shard map manager along with several shards, followed by
45
45
46
46
## Create an elastic query database
47
47
48
-
1. Open the [Azure portal](https://portal.azure.com) and log in.
48
+
1. Open the [Azure portal](https://portal.azure.com) and sign in.
49
49
1. Create a new database in Azure SQL Database in the same server as your shard setup. Name the database `ElasticDBQuery`.
50
50
51
-
You can use an existing database. If you can do so, it must not be one of the shards that you would like to execute your queries on. This database will be used for creating the metadata objects for an elastic database query.
51
+
You can use an existing database. If you can do so, it must not be one of the shards that you would like to execute your queries on. This database is used for creating the metadata objects for an elastic database query.
52
52
53
53
54
54
## Create database objects
@@ -103,15 +103,15 @@ WITH
103
103
104
104
## Execute a sample elastic database T-SQL query
105
105
106
-
Once you have defined your external data source and your external tables you can now use full T-SQL over your external tables.
106
+
Once you have defined your external data source and your external tables, use T-SQL to query your external tables.
107
107
108
108
Execute this query on the `ElasticDBQuery` database:
109
109
110
110
```sql
111
-
select count(CustomerId) from [dbo].[Customers]
111
+
select count(CustomerId) from [dbo].[Customers];
112
112
```
113
113
114
-
You will notice that the query aggregates results from all the shards and gives the following output:
114
+
You'll notice that the query aggregates results from all the shards and gives the following output:
@@ -122,20 +122,20 @@ You will notice that the query aggregates results from all the shards and gives
122
122
1. Launch Microsoft Excel.
123
123
1. Navigate to the **Data** ribbon.
124
124
1. Select **From Other Sources** and select **From SQL Server**.
125
-
1. In the **Data Connection Wizard** type the server name and login credentials. Then select**Next**.
125
+
1. In the **Data Connection Wizard**, type the server name and login credentials. Then select **Next**.
126
126
1. In the dialog box **Select the database that contains the data you want**, select the `ElasticDBQuery` database.
127
127
1. Select the `Customers` table in the list view and select **Next**. Then select **Finish**.
128
-
1. In the **Import Data** form, under **Select how you want to view this data in your workbook**, select**Table**andselect**OK**.
128
+
1. In the **Import Data** form, under **Select how you want to view this data in your workbook**, select **Table**. Select **OK**.
129
129
130
130
All the rows from `Customers` table, stored in different shards populate the Excel sheet.
131
131
132
-
You can now use Excel's powerful data visualization functions. You can use the connection string with your server name, database name and credentials to connect your BI and data integration tools to the elastic query database. Make sure that SQL Server is supported as a data source for your tool. You can refer to the elastic query database and external tables just like any other SQL Server database and SQL Server tables that you would connect to with your tool.
132
+
You can now use Excel's powerful data visualization functions. You can use the connection string with your server name, database name,and credentials to connect your BI and data integration tools to the elastic query database. Make sure that SQL Server is supported as a data source for your tool. You can refer to the elastic query database and external tables just like any other SQL Server database and SQL Server tables that you would connect to with your tool.
133
133
134
134
### Cost
135
135
136
-
There is no additional charge for using the Elastic Database Query feature.
136
+
There's no additional charge for using the Elastic Database Query feature.
137
137
138
-
For pricing information see [SQL Database Pricing Details](https://azure.microsoft.com/pricing/details/sql-database/).
138
+
For pricing information, see [SQL Database Pricing Details](https://azure.microsoft.com/pricing/details/sql-database/).
0 commit comments