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-data-warehouse/sql-data-warehouse-overview-develop.md
+6-6Lines changed: 6 additions & 6 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
-
title: Resources for developing a data warehouse in Azure Synapse Analytics
3
-
description: Development concepts, design decisions, recommendations and coding techniques for SQL Data Warehouse.
2
+
title: Resources for developing a Synapse SQL pool in Azure Synapse Analytics
3
+
description: Development concepts, design decisions, recommendations, and coding techniques for SQL pool.
4
4
services: synapse-analytics
5
5
author: XiaoyuMSFT
6
6
manager: craigg
@@ -12,11 +12,11 @@ ms.author: xiaoyul
12
12
ms.reviewer: igorstan
13
13
---
14
14
15
-
# Design decisions and coding techniques for a data warehouse in Azure Synapse Analytics
16
-
In this article, you'll find additional resources to help you better understand key design decisions, recommendations, and coding techniques for a data warehouse in Azure Synapse.
15
+
# Design decisions and coding techniques for a Synapse SQL pool in Azure Synapse Analytics
16
+
In this article, you'll find additional resources to help you better understand key design decisions, recommendations, and coding techniques for a SQL pool.
17
17
18
18
## Key design decisions
19
-
The following articles highlight concepts and design decisions for developing a distributed data warehouse using the SQL Analytics capability in Azure Synapse:
19
+
The following articles highlight concepts and design decisions for developing a distributed SQL pool:
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-data-types.md
+11-10Lines changed: 11 additions & 10 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: Defining data types
3
-
description: Recommendations for defining table data types in Azure SQL Data Warehouse.
3
+
description: Recommendations for defining table data types in Synapse SQL pool.
4
4
services: synapse-analytics
5
5
author: XiaoyuMSFT
6
6
manager: craigg
@@ -13,24 +13,24 @@ ms.reviewer: igorstan
13
13
ms.custom: seo-lt-2019
14
14
---
15
15
16
-
# Table data types in Azure SQL Data Warehouse
17
-
Recommendations for defining table data types in Azure SQL Data Warehouse.
16
+
# Table data types in Synapse SQL pool
17
+
Included in this article are recommendations for defining table data types in SQL pool.
18
18
19
-
## What are the data types?
19
+
## Supported data types
20
20
21
-
SQL Data Warehouse supports the most commonly used data types. For a list of the supported data types, see [data types](/sql/t-sql/statements/create-table-azure-sql-data-warehouse#DataTypes) in the CREATE TABLE statement.
21
+
SQL pool supports the most commonly used data types. For a list of the supported data types, see [data types](/sql/t-sql/statements/create-table-azure-sql-data-warehouse#DataTypes) in the CREATE TABLE statement.
22
22
23
23
## Minimize row length
24
24
Minimizing the size of data types shortens the row length, which leads to better query performance. Use the smallest data type that works for your data.
25
25
26
26
- Avoid defining character columns with a large default length. For example, if the longest value is 25 characters, then define your column as VARCHAR(25).
27
-
- Avoid using [NVARCHAR][NVARCHAR] when you only need VARCHAR.
27
+
- Avoid using [NVARCHAR](/sql/t-sql/data-types/nchar-and-nvarchar-transact-sql) when you only need VARCHAR.
28
28
- When possible, use NVARCHAR(4000) or VARCHAR(8000) instead of NVARCHAR(MAX) or VARCHAR(MAX).
29
29
30
-
If you are using PolyBase external tables to load your tables, the defined length of the table row cannot exceed 1 MB. When a row with variable-length data exceeds 1 MB, you can load the row with BCP, but not with PolyBase.
30
+
If you're using PolyBase external tables to load your tables, the defined length of the table row can't exceed 1 MB. When a row with variable-length data exceeds 1 MB, you can load the row with BCP, but not with PolyBase.
31
31
32
32
## Identify unsupported data types
33
-
If you are migrating your database from another SQL database, you might encounter data types that are not supported in SQL Data Warehouse. Use this query to discover unsupported data types in your existing SQL schema.
33
+
If you're migrating your database from another SQL database, you might find data types that aren't supported in SQL pool. Use the following query to discover unsupported data types in your existing SQL schema:
@@ -44,7 +44,7 @@ WHERE y.[name] IN ('geography','geometry','hierarchyid','image','text','ntext','
44
44
45
45
## <aname="unsupported-data-types"></a>Workarounds for unsupported data types
46
46
47
-
The following list shows the data types that SQL Data Warehouse does not support and gives alternatives that you can use instead of the unsupported data types.
47
+
The following list shows the data types that SQL pool doesn't support and gives useful alternatives for unsupported data types.
48
48
49
49
| Unsupported data type | Workaround |
50
50
| --- | --- |
@@ -56,11 +56,12 @@ The following list shows the data types that SQL Data Warehouse does not support
|[sql_variant](/sql/t-sql/data-types/sql-variant-transact-sql)|Split column into several strongly typed columns. |
58
58
|[table](/sql/t-sql/data-types/table-transact-sql)|Convert to temporary tables. |
59
-
|[timestamp](/sql/t-sql/data-types/date-and-time-types)|Rework code to use [datetime2](/sql/t-sql/data-types/datetime2-transact-sql) and the [CURRENT_TIMESTAMP](/sql/t-sql/functions/current-timestamp-transact-sql) function. Only constants are supported as defaults, therefore current_timestamp cannot be defined as a default constraint. If you need to migrate row version values from a timestamp typed column, then use [BINARY](/sql/t-sql/data-types/binary-and-varbinary-transact-sql)(8) or [VARBINARY](/sql/t-sql/data-types/binary-and-varbinary-transact-sql)(8) for NOT NULL or NULL row version values. |
59
+
|[timestamp](/sql/t-sql/data-types/date-and-time-types)|Rework code to use [datetime2](/sql/t-sql/data-types/datetime2-transact-sql) and the [CURRENT_TIMESTAMP](/sql/t-sql/functions/current-timestamp-transact-sql) function. Only constants are supported as defaults, so current_timestamp can't be defined as a default constraint. If you need to migrate row version values from a timestamp typed column, use [BINARY](/sql/t-sql/data-types/binary-and-varbinary-transact-sql)(8) or [VARBINARY](/sql/t-sql/data-types/binary-and-varbinary-transact-sql)(8) for NOT NULL or NULL row version values. |
0 commit comments