Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,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].[ExchangeRateKey] OPTION (LABEL = 'CTAS : Load [cso].[FactExchangeRate] ');


-- Track the load progress
Expand Down Expand Up @@ -864,6 +865,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;


-- Optimize statistics
Expand Down