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/sql/tutorial-connect-power-bi-desktop.md
+11-20Lines changed: 11 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: azaricstefan
6
6
ms.service: synapse-analytics
7
7
ms.topic: tutorial
8
8
ms.subservice:
9
-
ms.date: 04/15/2020
9
+
ms.date: 05/20/2020
10
10
ms.author: v-stazar
11
11
ms.reviewer: jrasnick, carlrab
12
12
---
@@ -46,34 +46,24 @@ Create the demo database (and drop an existing database if necessary) by running
46
46
47
47
```sql
48
48
-- Drop database if it exists
49
-
IF EXISTS (SELECT*FROMsys.databasesWHERE name ='Demo')
50
-
BEGIN
51
-
DROPDATABASE Demo
52
-
END;
49
+
DROPDATABASE IF EXISTS Demo
53
50
GO
54
51
55
52
-- Create new database
56
53
CREATE DATABASE [Demo];
57
54
GO
58
55
```
59
56
60
-
## 2 - Create credential
57
+
## 2 - Create data source
61
58
62
-
A credential is necessary for the SQL on-demand service to access files in storage. Create the credential for a storage account that is located in the same region as your endpoint. Although SQL on-demand can access storage accounts from different regions, having the storage and endpoint in the same region provides better performance.
59
+
A data source is necessary for the SQL on-demand service to access files in storage. Create the data source for a storage account that is located in the same region as your endpoint. Although SQL on-demand can access storage accounts from different regions, having the storage and endpoint in the same region provides better performance.
63
60
64
-
Create the credential by running the following Transact-SQL (T-SQL) script:
61
+
Create the data source by running the following Transact-SQL (T-SQL) script:
65
62
66
63
```sql
67
-
IF EXISTS (SELECT*FROMsys.credentialsWHERE name ='https://azureopendatastorage.blob.core.windows.net/censusdatacontainer')
68
-
DROP CREDENTIAL [https://azureopendatastorage.blob.core.windows.net/censusdatacontainer];
69
-
GO
70
-
71
-
-- Create credentials for Census Data container which resides in a azure open data storage account
72
-
-- There is no secret. We are using public storage account which doesn't need a secret.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql/tutorial-data-analyst.md
+22-24Lines changed: 22 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,24 +19,14 @@ In particular, you analyze the [New York City (NYC) Taxi dataset](https://azure.
19
19
20
20
The focus of the analysis is to find trends in changes of number of taxi rides over time. You analyze two other Azure Open Datasets ([Public Holidays](https://azure.microsoft.com/services/open-datasets/catalog/public-holidays/) and [Weather Data](https://azure.microsoft.com/services/open-datasets/catalog/noaa-integrated-surface-data/)) to understand the outliers in number of taxi rides.
21
21
22
-
## Create credentials
22
+
## Create Data source
23
+
24
+
Data source object is used to reference Azure storage account where you need to analyze data. Publicly available storage doesn't need some credential to access storage.
23
25
24
26
```sql
25
-
-- There is no secret. We are using public storage account which doesn't need a secret.
0 commit comments