Skip to content

Commit c459e8a

Browse files
committed
2 parents 9f0867d + 90b1e81 commit c459e8a

27 files changed

Lines changed: 2544 additions & 12 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ Each sample should be in its own folder with a README.md file that follows the [
2121
## Cloning only a subset of the repo (with sparse checkout)
2222
You can follow the steps below to clone individual files from the sql-server-samples git repo. Note: The following script clones only the files under the **features** and **demos** folders.
2323
```
24-
git clone -n https://github.com/Microsoft/sql-server-samples.\sql-server-samples
24+
git clone -n https://github.com/Microsoft/sql-server-samples
2525
cd sql-server-samples
2626
git config core.sparsecheckout true
27-
echo samples/features/*| out-file -append -encoding ascii.git/info/sparse-checkout
28-
echo samples/demos/*| out-file -append -encoding ascii.git/info/sparse-checkout
27+
echo samples/features/*| out-file -append -encoding ascii .git/info/sparse-checkout
28+
echo samples/demos/*| out-file -append -encoding ascii .git/info/sparse-checkout
2929
git checkout
3030
```
3131
For more information about sparse checkout please visit [this](https://stackoverflow.com/questions/23289006/on-windows-git-error-sparse-checkout-leaves-no-entry-on-the-working-directory) stackoverflow thread.

samples/applications/iot-connected-car/WinFormsClient/sample-sql-queries.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
AVG(EngineOil) AS AvgEngineOil,
3535
AVG(TirePressure) AS AvgTirePressure,
3636
MIN(TransmissionGearPosition) AS MinGearPosition,
37-
MAX(TransmissionGearPosition) AS MinGearPosition,
37+
MAX(TransmissionGearPosition) AS MaxGearPosition,
3838
AVG(TransmissionGearPosition) AS AvgGearPosition
3939
FROM EventsHistory
4040
WHERE AutoID = 50

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.

samples/databases/wide-world-importers/power-bi-dashboards/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To run this sample, you need the following prerequisites.
3535
**Software prerequisites:**
3636

3737
<!-- Examples -->
38-
1. WideWorldImporters and WideWorldImportersDW sample databases running in SQL Server 2016 (or higher) or Azure SQL Database. Download page: [wide-world-importers-release](http://go.microsoft.com/fwlink/?LinkID=800630)
38+
1. [WideWorldImporters](../wwi-ssdt/) and [WideWorldImportersDW](../wwi-dw-ssdt/) sample databases running in SQL Server 2016 (or higher) or Azure SQL Database. Install from source code.
3939
1. Power BI Desktop. Download link: [https://powerbi.microsoft.com/downloads/](https://powerbi.microsoft.com/downloads/)
4040

4141
<a name=run-this-sample></a>

0 commit comments

Comments
 (0)