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-tables-data-types.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ ms.custom: seo-lt-2019
16
16
# Table data types in Synapse SQL pool
17
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
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
@@ -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 pool does not support and gives useful alternatives for 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 pool does not support and gives
|[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, so current_timestamp can't 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