mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Updating documentation to include ctas for factexchangetable
This commit is contained in:
+2
@@ -896,6 +896,7 @@ CREATE TABLE [cso].[FactOnlineSales] WITH (DISTRIBUTION = HASH([ProductKey
|
||||
CREATE TABLE [cso].[FactSales] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSales] OPTION (LABEL = 'CTAS : Load [cso].[FactSales] ');
|
||||
CREATE TABLE [cso].[FactSalesQuota] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSalesQuota] OPTION (LABEL = 'CTAS : Load [cso].[FactSalesQuota] ');
|
||||
CREATE TABLE [cso].[FactStrategyPlan] WITH (DISTRIBUTION = HASH([EntityKey]) ) AS SELECT * FROM [asb].[FactStrategyPlan] OPTION (LABEL = 'CTAS : Load [cso].[FactStrategyPlan] ');
|
||||
CREATE TABLE [cso].[FactExchangeRate] WITH (DISTRIBUTION = HASH([ExchangeRateKey]) ) AS SELECT * FROM [asb].[FactExchangeRate] OPTION (LABEL = 'CTAS : Load [cso].[FactExchangeRate] ');
|
||||
```
|
||||
|
||||
### 4.3 Track the load progress
|
||||
@@ -944,6 +945,7 @@ ALTER INDEX ALL ON [cso].[FactInventory] REBUILD;
|
||||
ALTER INDEX ALL ON [cso].[FactOnlineSales] REBUILD;
|
||||
ALTER INDEX ALL ON [cso].[FactSales] REBUILD;
|
||||
ALTER INDEX ALL ON [cso].[FactSalesQuota] REBUILD;
|
||||
ALTER INDEX ALL ON [cso].[FactExchangeRate] REBUILD;
|
||||
```
|
||||
|
||||
To see how many rows are compressed in a columnstore index, head over to the [manage columnstore indexes][] article.
|
||||
|
||||
Reference in New Issue
Block a user