Skip to content

Commit cdb59fc

Browse files
authored
Merge branch 'main' into jdaly-main-cors-msal
2 parents b204a67 + aa86ffc commit cdb59fc

File tree

6 files changed

+24
-102
lines changed

6 files changed

+24
-102
lines changed

.openpublishing.redirection.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
22
"redirections": [
3-
{
3+
{
44
"source_path": "powerapps-docs/developer/data-platform/walkthrough-registering-configuring-simplespa-application-adal-js.md",
55
"redirect_url": "quick-start-register-configure-simplespa-application-msal-js",
66
"redirect_document_id": false
77
},
8-
{
8+
{
9+
"source_path": "powerapps-docs/maker/data-platform/azure-synapse-link-copy-sql.md",
10+
"redirect_url": "azure-synapse-link-pipelines",
11+
"redirect_document_id": false
12+
},
13+
{
914
"source_path": "powerapps-docs/developer/data-platform/webapi/samples/cdswebapiservice.md",
1015
"redirect_url": "webapiservice",
1116
"redirect_document_id": false
@@ -7211,4 +7216,4 @@
72117216
"redirect_document_id": "false"
72127217
}
72137218
]
7214-
}
7219+
}

powerapps-docs/developer/data-platform/dataverse-sql-query.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You can use the **Analyze in Power BI** option (**Data** > **Tables** > **Analyz
8181

8282
Any operation that attempts to modify data (that is, INSERT, UPDATE) will not work with this read-only SQL data connection. For a detailed list of supported SQL operations on the Dataverse endpoint, see [How Dataverse SQL differs from Transact-SQL](how-dataverse-sql-differs-from-transact-sql.md).
8383

84-
The following Dataverse datatypes are not supported with the SQL connection: `binary`, `image`, `sql_variant`, `varbinary`, `virtual`, `HierarchyId`, `managedproperty`, `file`, `xml`, `partylist`, `timestamp`, `choices`. In addition, tables types 'virtual' and 'audit' are not supported at this time.
84+
The following Dataverse datatypes are not supported with the SQL connection: `binary`, `image`, `sql_variant`, `varbinary`, `virtual`, `HierarchyId`, `managedproperty`, `file`, `xml`, `partylist`, `timestamp`, `choices`. In addition, tables types 'virtual' and 'audit' are not supported at this time.
8585

8686
> [!TIP]
8787
> `partylist` attributes can instead be queried by joining to the `activityparty` table as shown below.
@@ -181,8 +181,8 @@ This means the port has been blocked at the client.
181181
182182
### See also
183183
184+
[Get started with virtual tables (entities)](./virtual-entities/get-started-ve.md)
184185
[Use FetchXML to construct a query](dataverse-sql-query.md)
185186
[Service Protection API Limits](api-limits.md)
186187
187-
188188
[!INCLUDE[footer-include](../../includes/footer-banner.md)]

powerapps-docs/developer/data-platform/how-dataverse-sql-differs-from-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "How Dataverse SQL Differs from Transact-SQL | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn what subset of the Transact-SQL language is supported by the Dataverse SQL endpoint." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 12/16/2020
5+
ms.date: 09/09/2022
66
ms.reviewer: "pehecke"
77

88
ms.topic: "article"
@@ -92,6 +92,7 @@ More information: [Transact-SQL statements](/sql/t-sql/statements/statements)
9292
- All WHERE conditions
9393
- All nested queries (SELECT, FROM, WHERE)
9494
- Union
95+
- PIVOT and UNPIVOT
9596
- [GROUP BY](#select-group-by)/Having
9697
- General
9798
- IF THEN ELSE
@@ -106,7 +107,6 @@ More information: [Transact-SQL statements](/sql/t-sql/statements/statements)
106107
- DCL
107108
- Stored Procedure
108109
- DQL
109-
- Pivot
110110
- DQL XML function
111111
- DQL JSON function
112112
- CUBE and ROLLUP

powerapps-docs/maker/TOC.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,7 +2548,7 @@
25482548
href: ./data-platform/azure-synapse-link-create-view.md
25492549
- name: Transform data with Apache Spark
25502550
href: ./data-platform/azure-synapse-link-spark.md
2551-
- name: Run Azure Synapse pipelines
2551+
- name: Copy Dataverse into Azure SQL
25522552
href: ./data-platform/azure-synapse-link-pipelines.md
25532553
- name: Visualize data with Power BI
25542554
href: ./data-platform/azure-synapse-link-powerbi.md
@@ -2562,8 +2562,6 @@
25622562
items:
25632563
- name: Ingest exported data with Azure Data Factory
25642564
href: ./data-platform/export-to-data-lake-data-adf.md
2565-
- name: Copy data to Azure SQL with Azure Data Factory
2566-
href: ./data-platform/azure-synapse-link-copy-sql.md
25672565
- name: Copy data from multiple data lakes to single data lake
25682566
href: ./data-platform/azure-synapse-link-copy-mult-data-lakes.md
25692567
- name: Transform data from CSV to Parquet

powerapps-docs/maker/data-platform/azure-synapse-link-copy-sql.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

powerapps-docs/maker/data-platform/azure-synapse-link-create-view.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,31 +41,34 @@ This section describes the prerequisites necessary to create a view of your Data
4141

4242
- **Synapse administrator.** You must be granted **Synapse Administrator** role access within Synapse studio.
4343

44-
- **SQL Database.** This guide assumes you have created an additional SQL database (Serverless Pool or Dedicated Pool) in your Azure Synapse Analytics workspace to save the view.
4544

4645
## Create a view of your Dataverse data
4746

4847
1. In Power Apps, select your Azure Synapse Link from the list, and then select **Go to Azure Synapse workspace**.
4948

5049
![Go to workspace.](media/go-to-workspace.png "Go to workspace")
5150

52-
2. Expand **SQL database**, and select the **...** next to the database where you will store your view. Then select **New SQL script** > **New external table**.
51+
2. Create User-defined schema within Synapse SQL
5352

54-
![New empty script.](media/new-empty-script.png "New empty script")
55-
56-
3. Run a create view script by specifying a **view name**, the **column names**, **Dataverse database name**, and the exported **table name**.
53+
```sql
54+
CREATE SCHEMA [SCHEMA NAME]
55+
GO
56+
```
57+
58+
3. Run a create view script by specifying a **view name**, the **column names**, **Dataverse database name** under the new **schema**, and then exported **table name**.
5759

5860
```sql
59-
CREATE VIEW [VIEW NAME]
61+
CREATE OR ALTER VIEW [SCHEMA NAME].[VIEW NAME]
6062
AS
6163
SELECT [COLUMN NAMES]
6264
FROM [DATAVERSE DATABASE NAME].[dbo].[TABLE NAME]
6365

6466
```
6567

66-
4. Find the new view under the **Views** folder in the SQL database.
68+
## Use a view of your Dataverse data
6769

68-
![Create view result.](media/create-view-result.png "Create view result")
70+
You can use views in your queries the same way you use views in SQL Server queries.
71+
The view will be created and accessible under views folder in **SQL Server Management Studio (SSMS)** or **Azure Data Studio**
6972

7073
### See also
7174

0 commit comments

Comments
 (0)