Skip to content

Commit 6d821b6

Browse files
committed
updatable dist key
1 parent 9e0b44f commit 6d821b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-tables-distribute.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ WITH
8787
;
8888
```
8989

90-
Choosing a distribution column is an important design decision since the values in this column determine how the rows are distributed. The best choice depends on several factors, and usually involves tradeoffs. However, if you don't choose the best column the first time, you can use [CREATE TABLE AS SELECT (CTAS)](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) to re-create the table with a different distribution column.
90+
Data in the distributed column can be updated.
9191

92-
### Choose a distribution column that does not require updates
93-
94-
You cannot update a distribution column unless you delete the row and insert a new row with the updated values. Therefore, select a column with static values.
92+
Choosing a distribution column is an important design decision since the values in this column determine how the rows are distributed. The best choice depends on several factors, and usually involves tradeoffs. If you didn't choose the best column the first time, you can use [CREATE TABLE AS SELECT (CTAS)](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) to re-create the table with a different distribution column.
9593

9694
### Choose a distribution column with data that distributes evenly
9795

0 commit comments

Comments
 (0)