Skip to content

Commit 54eaca0

Browse files
authored
Merge pull request microsoft#385 from AyoOlubeko/patch-1
Updating documentation to include ctas for factexchangetable
2 parents 62ea1d3 + d6ca3fa commit 54eaca0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/databases/contoso-data-warehouse/load-contoso-data-warehouse_to-sql-data-warehouse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ CREATE TABLE [cso].[FactOnlineSales] WITH (DISTRIBUTION = HASH([ProductKey
896896
CREATE TABLE [cso].[FactSales] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSales] OPTION (LABEL = 'CTAS : Load [cso].[FactSales] ');
897897
CREATE TABLE [cso].[FactSalesQuota] WITH (DISTRIBUTION = HASH([ProductKey] ) ) AS SELECT * FROM [asb].[FactSalesQuota] OPTION (LABEL = 'CTAS : Load [cso].[FactSalesQuota] ');
898898
CREATE 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;
944945
ALTER INDEX ALL ON [cso].[FactOnlineSales] REBUILD;
945946
ALTER INDEX ALL ON [cso].[FactSales] REBUILD;
946947
ALTER INDEX ALL ON [cso].[FactSalesQuota] REBUILD;
948+
ALTER INDEX ALL ON [cso].[FactExchangeRate] REBUILD;
947949
```
948950

949951
To see how many rows are compressed in a columnstore index, head over to the [manage columnstore indexes][] article.

0 commit comments

Comments
 (0)