File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
samples/databases/contoso-data-warehouse Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -896,6 +896,7 @@ CREATE TABLE [cso].[FactOnlineSales] WITH (DISTRIBUTION = HASH([ProductKey
896896CREATE TABLE [cso].[FactSales] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSales] OPTION (LABEL = ' CTAS : Load [cso].[FactSales] ' );
897897CREATE TABLE [cso].[FactSalesQuota] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSalesQuota] OPTION (LABEL = ' CTAS : Load [cso].[FactSalesQuota] ' );
898898CREATE TABLE [cso].[FactStrategyPlan] WITH (DISTRIBUTION = HASH([EntityKey]) ) AS SELECT * FROM [asb].[FactStrategyPlan] OPTION (LABEL = ' CTAS : Load [cso].[FactStrategyPlan] ' );
899+ CREATE TABLE [cso].[FactExchangeRate] WITH (DISTRIBUTION = HASH([ExchangeRateKey]) ) AS SELECT * FROM [asb].[FactExchangeRate] OPTION (LABEL = ' CTAS : Load [cso].[FactExchangeRate] ' );
899900```
900901
901902### 4.3 Track the load progress
@@ -944,6 +945,7 @@ ALTER INDEX ALL ON [cso].[FactInventory] REBUILD;
944945ALTER INDEX ALL ON [cso].[FactOnlineSales] REBUILD;
945946ALTER INDEX ALL ON [cso].[FactSales] REBUILD;
946947ALTER INDEX ALL ON [cso].[FactSalesQuota] REBUILD;
948+ ALTER INDEX ALL ON [cso].[FactExchangeRate] REBUILD;
947949```
948950
949951To see how many rows are compressed in a columnstore index, head over to the [ manage columnstore indexes] [ ] article.
You can’t perform that action at this time.
0 commit comments