Skip to content

Commit 93b4155

Browse files
committed
update article 11-14
1 parent 620ed03 commit 93b4155

4 files changed

+32
-28
lines changed

articles/sql-data-warehouse/sql-data-warehouse-develop-ctas.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: CREATE TABLE AS SELECT (CTAS)
3-
description: Explanation and examples of the CREATE TABLE AS SELECT (CTAS) statement in Azure SQL Data Warehouse for developing solutions.
3+
description: Explanation and examples of the CREATE TABLE AS SELECT (CTAS) statement in SQL Analytics for developing solutions.
44
services: sql-data-warehouse
55
author: XiaoyuMSFT
66
manager: craigg
@@ -11,11 +11,12 @@ ms.date: 03/26/2019
1111
ms.author: xiaoyul
1212
ms.reviewer: igorstan
1313
ms.custom: seoapril2019
14+
ms.custom: azure-synapse
1415
---
1516

16-
# CREATE TABLE AS SELECT (CTAS) in Azure SQL Data Warehouse
17+
# CREATE TABLE AS SELECT (CTAS) in SQL Analytics
1718

18-
This article explains the CREATE TABLE AS SELECT (CTAS) T-SQL statement in Azure SQL Data Warehouse for developing solutions. The article also provides code examples.
19+
This article explains the CREATE TABLE AS SELECT (CTAS) T-SQL statement in SQL Analytics for developing solutions. The article also provides code examples.
1920

2021
## CREATE TABLE AS SELECT
2122

@@ -118,7 +119,7 @@ DROP TABLE FactInternetSales_old;
118119

119120
## Use CTAS to work around unsupported features
120121

121-
You can also use CTAS to work around a number of the unsupported features listed below. This method can often prove helpful, because not only will your code be compliant, but it will often run faster on SQL Data Warehouse. This performance is a result of its fully parallelized design. Scenarios include:
122+
You can also use CTAS to work around a number of the unsupported features listed below. This method can often prove helpful, because not only will your code be compliant, but it will often run faster on SQL Analytics. This performance is a result of its fully parallelized design. Scenarios include:
122123

123124
* ANSI JOINS on UPDATEs
124125
* ANSI JOINs on DELETEs
@@ -169,7 +170,7 @@ ON [acs].[EnglishProductCategoryName] = [fis].[EnglishProductCategoryName]
169170
AND [acs].[CalendarYear] = [fis].[CalendarYear];
170171
```
171172

172-
SQL Data Warehouse doesn't support ANSI joins in the `FROM` clause of an `UPDATE` statement, so you can't use the previous example without modifying it.
173+
SQL Analytics doesn't support ANSI joins in the `FROM` clause of an `UPDATE` statement, so you can't use the previous example without modifying it.
173174

174175
You can use a combination of a CTAS and an implicit join to replace the previous example:
175176

@@ -203,7 +204,7 @@ DROP TABLE CTAS_acs;
203204

204205
## ANSI join replacement for delete statements
205206

206-
Sometimes the best approach for deleting data is to use CTAS, especially for `DELETE` statements that use ANSI join syntax. This is because SQL Data Warehouse doesn't support ANSI joins in the `FROM` clause of a `DELETE` statement. Rather than deleting the data, select the data you want to keep.
207+
Sometimes the best approach for deleting data is to use CTAS, especially for `DELETE` statements that use ANSI join syntax. This is because SQL Analytics doesn't support ANSI joins in the `FROM` clause of a `DELETE` statement. Rather than deleting the data, select the data you want to keep.
207208

208209
The following is an example of a converted `DELETE` statement:
209210

@@ -407,7 +408,7 @@ OPTION (LABEL = 'CTAS : Partition IN table : Create');
407408

408409
You can see that type consistency and maintaining nullability properties on a CTAS is an engineering best practice. It helps to maintain integrity in your calculations, and also ensures that partition switching is possible.
409410

410-
CTAS is one of the most important statements in SQL Data Warehouse. Make sure you thoroughly understand it. See the [CTAS documentation](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse).
411+
CTAS is one of the most important statements in SQL Analytics. Make sure you thoroughly understand it. See the [CTAS documentation](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse).
411412

412413
## Next steps
413414

articles/sql-data-warehouse/sql-data-warehouse-reference-tsql-language-elements.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: T-SQL language elements
3-
description: Links to the documentation for T-SQL statements supported in Azure SQL Data Warehouse.
3+
description: Links to the documentation for T-SQL statements supported in SQL Analytics.
44
services: sql-data-warehouse
55
author: XiaoyuMSFT
66
manager: craigg
@@ -11,10 +11,11 @@ ms.date: 06/13/2018
1111
ms.author: xiaoyul
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019
14+
ms.custom: azure-synapse
1415
---
1516

16-
# T-SQL language elements supported in Azure SQL Data Warehouse
17-
Links to the documentation for T-SQL language elements supported in Azure SQL Data Warehouse.
17+
# T-SQL language elements supported in SQL Analytics
18+
Links to the documentation for T-SQL language elements supported in SQL Analytics.
1819

1920
## Core elements
2021
* [syntax conventions](/sql/t-sql/language-elements/transact-sql-syntax-conventions-transact-sql)
@@ -273,5 +274,5 @@ Links to the documentation for T-SQL language elements supported in Azure SQL Da
273274
* [SET XACT_ABORT](https://msdn.microsoft.com/library/ms188792.aspx)
274275

275276
## Next steps
276-
For more reference information, see [T-SQL statements in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-statements.md), and [System views in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-system-views.md).
277+
For more reference information, see [T-SQL statements in SQL Analytics](sql-data-warehouse-reference-tsql-statements.md), and [System views in SQL Analytics](sql-data-warehouse-reference-tsql-system-views.md).
277278

articles/sql-data-warehouse/sql-data-warehouse-reference-tsql-statements.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: T-SQL statements
3-
description: Links to the documentation for T-SQL statements supported in Azure SQL Data Warehouse.
3+
description: Links to the documentation for T-SQL statements supported in SQL Analytics.
44
services: sql-data-warehouse
55
author: XiaoyuMSFT
66
manager: craigg
@@ -11,10 +11,11 @@ ms.date: 05/01/2019
1111
ms.author: xiaoyul
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019
14+
ms.custom: azure-synapse
1415
---
1516

16-
# T-SQL statements supported in Azure SQL Data Warehouse
17-
Links to the documentation for T-SQL statements supported in Azure SQL Data Warehouse.
17+
# T-SQL statements supported in SQL Analytics
18+
Links to the documentation for T-SQL statements supported in SQL Analytics.
1819

1920
## Data Definition Language (DDL) statements
2021
* [ALTER DATABASE](https://msdn.microsoft.com/library/mt204042.aspx)
@@ -115,4 +116,4 @@ Links to the documentation for T-SQL statements supported in Azure SQL Data Ware
115116
* [OPEN MASTER KEY](https://msdn.microsoft.com/library/ms174433.aspx)
116117

117118
## Next steps
118-
For more reference information, see [T-SQL language elements in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-language-elements.md), and [System views in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-system-views.md).
119+
For more reference information, see [T-SQL language elements in SQL Analytics](sql-data-warehouse-reference-tsql-language-elements.md), and [System views in SQL Analytics](sql-dat-warehouse-reference-tsql-system-views.md).

articles/sql-data-warehouse/sql-data-warehouse-reference-tsql-system-views.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: System views
3-
description: Links to the documentation for system views supported in Azure SQL Data Warehouse.
3+
description: Links to the documentation for system views supported in SQL Analytics.
44
services: sql-data-warehouse
55
author: XiaoyuMSFT
66
manager: craigg
@@ -11,12 +11,13 @@ ms.date: 01/06/2020
1111
ms.author: xiaoyul
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019
14+
ms.custom: azure-synapse
1415
---
1516

16-
# System views supported in Azure SQL Data Warehouse
17-
Links to the documentation for T-SQL statements supported in Azure SQL Data Warehouse.
17+
# System views supported in SQL Analytics
18+
Links to the documentation for T-SQL statements supported in SQL Analytics.
1819

19-
## SQL Data Warehouse catalog views
20+
## SQL Analytics catalog views
2021
* [sys.pdw_column_distribution_properties](https://msdn.microsoft.com/library/mt204022.aspx)
2122
* [sys.pdw_distributions](https://msdn.microsoft.com/library/mt203892.aspx)
2223
* [sys.pdw_index_mappings](https://msdn.microsoft.com/library/mt203912.aspx)
@@ -60,8 +61,8 @@ Links to the documentation for T-SQL statements supported in Azure SQL Data Ware
6061
* [sys.dm_pdw_waits](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-waits-transact-sql)
6162
* [sys.dm_workload_management_workload_groups_stats](https://docs.microsoft.com/sql/relational-databases/system-dynamic-management-views/sys-dm-workload-management-workload-group-stats-transact-sql) (Preview)
6263

63-
## SQL Server DMVs applicable to SQL Data Warehouse
64-
The following DMVs are applicable to SQL Data Warehouse, but must be executed by connecting to the **master** database.
64+
## SQL Server DMVs applicable to SQL Analytics
65+
The following DMVs are applicable to SQL Analytics, but must be executed by connecting to the **master** database.
6566

6667
* [sys.database_service_objectives](https://msdn.microsoft.com/library/mt712619.aspx)
6768
* [sys.dm_operation_status](https://msdn.microsoft.com/library/dn270022.aspx)
@@ -140,17 +141,17 @@ The following DMVs are applicable to SQL Data Warehouse, but must be executed by
140141
* [sys.types](https://msdn.microsoft.com/library/ms188021.aspx)
141142
* [sys.views](https://msdn.microsoft.com/library/ms190334.aspx)
142143

143-
## SQL Server DMVs available in SQL Data Warehouse
144-
SQL Data Warehouse exposes many of the SQL Server dynamic management views (DMVs). These views, when queried in SQL Data Warehouse, are reporting the state of SQL Databases running on the distributions.
144+
## SQL Server DMVs available in SQL Analytics
145+
SQL Analytics exposes many of the SQL Server dynamic management views (DMVs). These views, when queried in SQL Analytics, are reporting the state of SQL Databases running on the distributions.
145146

146-
SQL Data Warehouse and Analytics Platform System's Parallel Data Warehouse (PDW) use the same system views. Each DMV has a column called pdw_node_id, which is the identifier for the Compute node.
147+
SQL Analytics and Parallel Data Warehouse (PDW) use the same system views. Each DMV has a column called pdw_node_id, which is the identifier for the Compute node.
147148

148149
> [!NOTE]
149150
> To use these views, insert ‘pdw_nodes_’ into the name, as shown in the following table:
150151
>
151152
>
152153
153-
| DMV name in SQL Data Warehouse | SQL Server Transact-SQL article|
154+
| DMV name in SQL Analytics | SQL Server Transact-SQL article|
154155
|:--- |:--- |
155156
| sys.dm_pdw_nodes_db_column_store_row_group_physical_stats | [sys.dm_db_column_store_row_group_physical_stats](/sql/relational-databases/system-dynamic-management-views/sys-dm-db-column-store-row-group-physical-stats-transact-sql)|
156157
| sys.dm_pdw_nodes_db_column_store_row_group_operational_stats | [sys.dm_db_column_store_row_group_operational_stats](/sql/relational-databases/system-dynamic-management-views/sys-dm-db-column-store-row-group-operational-stats-transact-sql)|
@@ -212,8 +213,8 @@ SQL Data Warehouse and Analytics Platform System's Parallel Data Warehouse (PDW)
212213
| sys.dm_pdw_nodes_tran_session_transactions |[sys.dm_tran_session_transactions](https://msdn.microsoft.com/library/ms188739.aspx) |
213214
| sys.dm_pdw_nodes_tran_top_version_generators |[sys.dm_tran_top_version_generators](https://msdn.microsoft.com/library/ms188778.aspx) |
214215

215-
## SQL Server 2016 PolyBase DMVs available in SQL Data Warehouse
216-
The following DMVs are applicable to SQL Data Warehouse, but must be executed by connecting to the **master** database.
216+
## SQL Server 2016 PolyBase DMVs available in SQL Analytics
217+
The following DMVs are applicable to SQL Analytics, but must be executed by connecting to the **master** database.
217218

218219
* [sys.dm_exec_compute_node_errors](https://msdn.microsoft.com/library/mt146380.aspx)
219220
* [sys.dm_exec_compute_node_status](https://msdn.microsoft.com/library/mt146382.aspx)
@@ -238,4 +239,4 @@ The following DMVs are applicable to SQL Data Warehouse, but must be executed by
238239
* [VIEWS](https://msdn.microsoft.com/library/ms181381.aspx)
239240

240241
## Next steps
241-
For more reference information, see [T-SQL statements in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-statements.md), and [T-SQL language elements in Azure SQL Data Warehouse](sql-data-warehouse-reference-tsql-language-elements.md).
242+
For more reference information, see [T-SQL statements in SQL Analytics](sql-data-warehouse-reference-tsql-statements.md), and [T-SQL language elements in SQL Analytics](sql-data-warehouse-reference-tsql-language-elements.md).

0 commit comments

Comments
 (0)