Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1515 commits
Select commit Hold shift + click to select a range
a457465
Set the SKU for public IP addys to Standard
zoran-rilak-msft May 29, 2024
a6010e6
Merge pull request #1293 from zoran-rilak-msft/patch-2
MashaMSFT May 29, 2024
ee46d85
Fix syntax
zoran-rilak-msft May 29, 2024
a7eeb6d
Merge pull request #1294 from zoran-rilak-msft/patch-3
MashaMSFT May 29, 2024
71edf60
Fix syntax fix
zoran-rilak-msft May 29, 2024
15da4ae
Merge pull request #1295 from zoran-rilak-msft/patch-4
MashaMSFT May 29, 2024
eb4279f
Avoid Dynamic allocation
zoran-rilak-msft May 29, 2024
1b1ae9a
Merge pull request #1296 from zoran-rilak-msft/patch-5
MashaMSFT May 29, 2024
9f14406
Increase GW subnet size to account for ZR
zoran-rilak-msft May 29, 2024
1015f98
Merge pull request #1297 from zoran-rilak-msft/patch-6
MashaMSFT May 29, 2024
d181e23
initial draft
anosov1960 May 29, 2024
673feb1
progress
anosov1960 May 29, 2024
e3c50e2
Adjust GW subnet's starting addr space per suffix size
zoran-rilak-msft May 29, 2024
3177256
Don't skip blocks if suffix size fits
zoran-rilak-msft May 29, 2024
2c2c4c0
Added isoURL
anosov1960 May 29, 2024
022c74d
Merge pull request #1299 from zoran-rilak-msft/patch-7
MashaMSFT May 29, 2024
370587b
Fix the boundary crossing check
zoran-rilak-msft May 30, 2024
be1b2b4
Merge pull request #1300 from zoran-rilak-msft/master
MashaMSFT May 30, 2024
2b41566
replaced az with PS, added verification KQL
anosov1960 Jun 6, 2024
fa3f513
Added edition to setup
anosov1960 Jun 6, 2024
3f479bb
Fixed azure region
anosov1960 Jun 6, 2024
0e2ae65
added svc account
anosov1960 Jun 6, 2024
a698ca9
removed SA password
anosov1960 Jun 6, 2024
d440166
adding connection test script
twright-msft Jun 7, 2024
4580a37
format better and show response time
twright-msft Jun 8, 2024
d5aed9d
Bump com.azure:azure-identity
dependabot[bot] Jun 11, 2024
a337e16
Bump Azure.Identity
dependabot[bot] Jun 11, 2024
bfcc39a
Bump azure-identity
dependabot[bot] Jun 11, 2024
7873626
Removed /SQLSERVERUPDATE
anosov1960 Jun 12, 2024
01a8300
added activate license script
anosov1960 Jun 13, 2024
6713bef
fixed URL
anosov1960 Jun 13, 2024
deccf74
Fixed URL
anosov1960 Jun 13, 2024
e0eb733
Added instructions
anosov1960 Jun 13, 2024
a776aec
Temp change default
anosov1960 Jun 13, 2024
a58f6f5
Fixed logic
anosov1960 Jun 13, 2024
01020de
Fix parameters
anosov1960 Jun 13, 2024
58a1595
Fix type
anosov1960 Jun 13, 2024
5070d5e
Added original v_backup files
soradotwav Jun 13, 2024
e73b104
Merge pull request #1306 from soradotwav/v_backup_2005
swells Jun 14, 2024
66181fe
Updated original files with working VS projects
soradotwav Jun 14, 2024
fa6bd5d
Tested version
anosov1960 Jun 16, 2024
1be0d7c
Swapped out tabs for spaces and fixed certain formatting
soradotwav Jun 17, 2024
7e3a491
Merge pull request #1307 from soradotwav/v_backup_updated
swells Jun 17, 2024
1ab5906
Bump braces
dependabot[bot] Jun 17, 2024
5b6dbf6
Merge pull request #1290 from segovoni/segovoni/samples/manage/polyBa…
uc-msft Jun 21, 2024
55326e9
Merge pull request #1301 from microsoft/dependabot/maven/samples/tuto…
uc-msft Jun 21, 2024
ccc1baf
Merge pull request #1302 from microsoft/dependabot/nuget/samples/feat…
uc-msft Jun 21, 2024
69bbd9e
Merge pull request #1303 from microsoft/dependabot/pip/samples/featur…
uc-msft Jun 21, 2024
b364999
Merge pull request #1308 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jun 21, 2024
12211db
Merge pull request #1291 from MehulChamria/patch-1
uc-msft Jun 21, 2024
d173527
Updated read.me
anosov1960 Jun 24, 2024
ab587b5
Updated URL for curl
anosov1960 Jun 24, 2024
ee6acbf
Merge branch 'microsoft:master' into master
anosov1960 Jun 24, 2024
b0edb39
Merge pull request #1310 from anosov1960/master
anosov1960 Jun 24, 2024
783c144
Updated read.me
anosov1960 Jun 25, 2024
7ee181f
fixed sa typo
anosov1960 Jun 25, 2024
0eaf069
Fixed more typos
anosov1960 Jun 25, 2024
6d1372e
Update activate-pcore-license.md
anosov1960 Jun 27, 2024
fd1d974
Update install-payg-sql-server.ps1
anosov1960 Jul 4, 2024
59de812
Updated handling of relative path references
getalex Jul 5, 2024
d8a9c3d
Added log entry on catalog item migration warnings
getalex Jul 5, 2024
df79461
Modified to remove downloading the image file
anosov1960 Jul 6, 2024
29be535
Make disk mount idempotant
anosov1960 Jul 6, 2024
80e7b27
Removed /Edition
anosov1960 Jul 6, 2024
3934658
Modified to support prePIDed .iso
anosov1960 Jul 10, 2024
2c0c27e
Removed Edition parameter
anosov1960 Jul 10, 2024
0832325
Added Az.Resources module
anosov1960 Jul 10, 2024
6c61562
Fixed a typo
anosov1960 Jul 10, 2024
bda5076
Bump com.azure:azure-identity
dependabot[bot] Jul 10, 2024
9d46ee3
Bump ws, engine.io and engine.io-client
dependabot[bot] Jul 10, 2024
d9c1d1b
Update modify-license-type.ps1
twright-msft Jul 12, 2024
dbbac6a
Merge pull request #1315 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jul 19, 2024
ce53c04
Merge pull request #1314 from microsoft/dependabot/maven/samples/tuto…
uc-msft Jul 19, 2024
8ca351e
Merge pull request #1313 from getalex/patch-5
uc-msft Jul 19, 2024
5fe0b02
Merge pull request #1312 from getalex/patch-4
uc-msft Jul 19, 2024
a00731d
Bump socket.io-parser
dependabot[bot] Jul 23, 2024
814fbde
Update install-payg-sql-server.ps1
anosov1960 Jul 30, 2024
1c452ee
Updated script and added readme
anosov1960 Aug 8, 2024
f901d45
Minor edits
anosov1960 Aug 8, 2024
624e84a
Added curl
anosov1960 Aug 8, 2024
0f55a71
Update README.md
anosov1960 Aug 8, 2024
83b3834
Update README.md
anosov1960 Aug 8, 2024
1984db0
Update README.md
anosov1960 Aug 8, 2024
8e2f6ae
Update README.md
anosov1960 Aug 8, 2024
4849fcc
Fixed typos
anosov1960 Aug 13, 2024
f17e36f
Fixed curl command
anosov1960 Aug 13, 2024
58d176f
Fixed concole command
anosov1960 Aug 13, 2024
e125b27
Fixed services default
anosov1960 Aug 13, 2024
a6de85e
Fixed download folder
anosov1960 Aug 13, 2024
9c82e6e
Update README.md
anosov1960 Aug 13, 2024
f764714
Merge pull request #1326 from anosov1960/master
anosov1960 Aug 13, 2024
d43a5c5
Remove unnecessary files
rwestMSFT Aug 28, 2024
0c98d03
Merge pull request #1328 from rwestMSFT/rw-0828-remove
MikeRayMSFT Aug 28, 2024
4680e9b
Bump webpack
dependabot[bot] Aug 30, 2024
5d0277b
Bump micromatch
dependabot[bot] Sep 1, 2024
e93515f
Bump cryptography
dependabot[bot] Sep 3, 2024
0f97482
Blank Dashboard fix - review needed
eldarku Sep 11, 2024
d7e4d3a
Merge pull request #1332 from eldarku/patch-1
uc-msft Sep 11, 2024
b15d01d
Merge pull request #1318 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
88e25e3
Merge pull request #1329 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
1815e58
Merge pull request #1330 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
c7add84
Merge pull request #1331 from microsoft/dependabot/pip/samples/featur…
uc-msft Sep 11, 2024
35d6b33
Bump send and express
dependabot[bot] Sep 11, 2024
fa5d06d
Bump serve-static and express
dependabot[bot] Sep 11, 2024
907211d
Merge pull request #1334 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
d654a94
Bump express
dependabot[bot] Sep 11, 2024
1d2743e
Merge pull request #1335 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
f3347e2
Merge pull request #1336 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
8f01bc6
Bump requirejs
dependabot[bot] Sep 11, 2024
e4077cb
Merge pull request #1337 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 11, 2024
5237f59
Bump Azure.Identity
dependabot[bot] Sep 11, 2024
f613216
Bump path-to-regexp
dependabot[bot] Sep 11, 2024
0bb5407
Add hybrid compute-extension-last-connect
MikeRayMSFT Sep 23, 2024
72e4fae
Merge pull request #1345 from MikeRayMSFT:240923-kusto-arc
MikeRayMSFT Sep 23, 2024
0d208b6
Added rollback transaction before an exception is thrown
danielferrerflyrlabs Sep 27, 2024
1e40987
Bump rollup
dependabot[bot] Sep 27, 2024
a1b84be
Add files via upload
DickBaker Oct 8, 2024
be9218c
Update README.md
DickBaker Oct 8, 2024
ae21bdd
Update Schema of existing dashboards and add new SQL Health Dashboard…
Oct 17, 2024
ec282eb
Merge pull request #1338 from microsoft/dependabot/nuget/samples/feat…
uc-msft Oct 18, 2024
8bffa8c
Bump serve-static and express
dependabot[bot] Oct 18, 2024
daa13dc
Bump express
dependabot[bot] Oct 18, 2024
01cd0ac
Merge pull request #1339 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 18, 2024
36a1194
Merge pull request #1347 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 18, 2024
311f777
Merge pull request #1353 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 18, 2024
bbe9fbf
Merge pull request #1354 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 18, 2024
d1008e1
Merge pull request #1351 from temalo/master
uc-msft Oct 18, 2024
5c04b3e
Merge pull request #1346 from DanielFerrerCC/fixopennedtranswhenthrow
uc-msft Oct 18, 2024
d289fa7
Merge pull request #1350 from DickBaker/master
uc-msft Oct 18, 2024
9111f19
Bump cookie and express
dependabot[bot] Oct 18, 2024
1d38158
Fix images
WilliamDAssafMSFT Oct 22, 2024
25c2163
Fix images
WilliamDAssafMSFT Oct 22, 2024
ad4d73f
Update README.md
WilliamDAssafMSFT Oct 22, 2024
680615b
Update README.md
WilliamDAssafMSFT Oct 22, 2024
99cd783
Update readme.md
WilliamDAssafMSFT Oct 22, 2024
0784a5f
Update README.md
WilliamDAssafMSFT Oct 22, 2024
c743349
Update README.md
WilliamDAssafMSFT Oct 22, 2024
5c15fbf
Update README.md
WilliamDAssafMSFT Oct 22, 2024
098d721
Update README.md
WilliamDAssafMSFT Oct 22, 2024
bf34b3a
Update README.md
WilliamDAssafMSFT Oct 22, 2024
8df1863
Delete samples/features/security/azure-active-directory-auth/img/toke…
WilliamDAssafMSFT Oct 22, 2024
6a4dd22
Delete samples/features/security/azure-active-directory-auth/img/app-…
WilliamDAssafMSFT Oct 22, 2024
1dec77f
Delete samples/features/security/azure-active-directory-auth/img/azur…
WilliamDAssafMSFT Oct 22, 2024
183bd1e
Delete samples/features/security/azure-active-directory-auth/img/vs-a…
WilliamDAssafMSFT Oct 22, 2024
ce81d53
Update README.md
WilliamDAssafMSFT Oct 22, 2024
551fe20
Bump http-proxy-middleware
dependabot[bot] Oct 25, 2024
7706d73
Add Arc SQL Server health dashboard
twright-msft Nov 8, 2024
9371468
Add Arc SQL Server Feature Status Dashboard
twright-msft Nov 8, 2024
2951352
Updating v2 format to v1 format for dashboards
twright-msft Nov 12, 2024
dff1a53
adding patch-SQLServerInstance script
twright-msft Nov 15, 2024
76fa889
small changes to script params
twright-msft Nov 15, 2024
c90edfa
tweak json
twright-msft Nov 15, 2024
e0e8372
Merge pull request #1352 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Nov 15, 2024
24bc385
Merge pull request #1357 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Nov 15, 2024
4b7225b
Merge pull request #1355 from WilliamDAssafMSFT/patch-3
uc-msft Nov 15, 2024
68d479f
Add host level script
Nov 18, 2024
d2f0dda
Use params
Nov 18, 2024
3b4e392
Rename file and make not case sensitive
Nov 18, 2024
6ed88d2
Make RG optional
Nov 19, 2024
cc6c038
Bump cross-spawn
dependabot[bot] Nov 19, 2024
8941a60
Merge pull request #1363 from charmainewkchan/master
uc-msft Nov 19, 2024
0509dfb
Merge pull request #1364 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Nov 19, 2024
6a1bea3
Updated to support UsePcoreLicense
anosov1960 Dec 1, 2024
d836e16
Modified README
anosov1960 Dec 1, 2024
aeab5dd
Merge pull request #1365 from anosov1960/master
anosov1960 Dec 1, 2024
11b86b8
typo
anosov1960 Dec 1, 2024
bafb8e9
Update README.md
anosov1960 Dec 1, 2024
e74af02
adding more charts to health dashboard
twright-msft Jan 19, 2025
8dc1b71
Added modify-license-type for Azure SQL
anosov1960 Mar 26, 2025
d815c20
added resourc group option to Azure SQL modify-license-type
anosov1960 Mar 26, 2025
af8a3a0
Minor edit
anosov1960 Mar 26, 2025
570aa22
spelling
anosov1960 Mar 26, 2025
af9a402
Added the consent tag for the CSP subs
anosov1960 Apr 2, 2025
87d68d8
Added forced PAYG at scale example
anosov1960 Apr 2, 2025
4aaa18f
Added a note re CSP subs.
anosov1960 Apr 2, 2025
3a4d3dd
Typo
anosov1960 Apr 2, 2025
73b8f55
Typo
anosov1960 Apr 2, 2025
8019289
Added the reader role to prereqs
anosov1960 Apr 2, 2025
989c8fe
Typo
anosov1960 Apr 2, 2025
b21d644
Cleaned up the consent tag logic
anosov1960 Apr 2, 2025
864df36
Added a comment
anosov1960 Apr 2, 2025
a00fde4
Updates the license type for Azure SQL resources (SQL DBs, Elastic Po…
rodrigomonteiro-gbb Apr 8, 2025
e935c4e
Updates the license type for Azure SQL resources (SQL DBs, Elastic Po…
rodrigomonteiro-gbb Apr 8, 2025
478a644
Fix the requirements
rodrigomonteiro-gbb Apr 8, 2025
9e644ac
Merge pull request #1385 from rodrigomonteiro-gbb/master
anosov1960 Apr 8, 2025
db3721d
Modified readme
anosov1960 Apr 8, 2025
0897b6e
more tweaks
anosov1960 Apr 8, 2025
15668e0
typo
anosov1960 Apr 8, 2025
56b6271
Bump VPN SKU to AZ to match the public IP
zoran-rilak-msft Apr 9, 2025
45276b4
Merge pull request #1386 from zoran-rilak-msft/master
MashaMSFT Apr 9, 2025
79e88a9
reverted to Dec 1, 2024
anosov1960 Apr 9, 2025
b77c639
Initial readme
anosov1960 Apr 25, 2025
3183424
Initial tested version
anosov1960 Apr 25, 2025
215c4cd
Moved folders and copies tested scrips
anosov1960 Apr 25, 2025
a12df91
refresh the draft
anosov1960 May 1, 2025
d13b6d9
complete draft
anosov1960 May 1, 2025
5439d21
Added cloud shell
anosov1960 May 1, 2025
743cff4
Added Recurring consent to modify-license-type
anosov1960 May 1, 2025
331db52
Modified consent property
anosov1960 May 2, 2025
b31c28a
updated modify-license-type to support PAYG-R consent
anosov1960 May 2, 2025
68ac176
fixed URL
anosov1960 May 2, 2025
f3dc8c4
Removed milliseconds
anosov1960 May 5, 2025
a0f5cf8
Renamed the arc LT script and added add'l parameters.
anosov1960 May 9, 2025
630e89b
Removed cores
anosov1960 May 9, 2025
f199229
moved to the old folder
anosov1960 May 9, 2025
76c988c
Update the azure modify LT script
anosov1960 May 9, 2025
6a2e134
Cleaned up Azure SQL update script
anosov1960 May 12, 2025
a3ee5ac
Added $ReportOnly
anosov1960 May 12, 2025
29740a7
Moified Connect-Azure
anosov1960 May 12, 2025
5526ca0
updated descriptions
anosov1960 May 12, 2025
9d71c6b
Added machine name list option
anosov1960 May 14, 2025
4c2449e
Cleaned up readme
anosov1960 May 14, 2025
1f86cd8
Added hyper-link to the original script
anosov1960 May 14, 2025
906f81d
Added synopsis to the old script
anosov1960 May 14, 2025
9d98f2f
Merge branch 'master' into PAYG-transition
anosov1960 May 14, 2025
4806f96
Removed edition, added consent
anosov1960 May 14, 2025
a17c70c
Fixed the query
anosov1960 May 15, 2025
0d2e275
Fillter subscriptions by tenant
anosov1960 May 16, 2025
8dee578
Fixed errors in query and other places
May 20, 2025
c7efee3
Fixed some typos
May 20, 2025
bd62ed4
deleted csv files
May 20, 2025
593ba9a
Removed az login as CLI is not used in the script
May 20, 2025
86cf430
removed microsoft.graph
May 20, 2025
587071e
Flipped TenantId back to optional
May 20, 2025
a5685d6
Fixed current tenant
May 20, 2025
769405a
Fixed several errors
May 21, 2025
b1ec280
Supressed instancePool warnings
May 21, 2025
7637f45
Modified readme files
May 21, 2025
b84d7cc
Added update history
May 21, 2025
b56694d
Fixed typos
May 21, 2025
b630705
deleted report files
May 21, 2025
fc2101d
Merge pull request #1390 from anosov1960/PAYG-transition
anosov1960 May 21, 2025
ead011f
Added a resoure name parameter
May 27, 2025
504fcf0
Removed hard coded IDs
May 28, 2025
9972502
Removed hard coded IDs
May 28, 2025
d2b37a3
Removed hard coded tenant ID
May 28, 2025
4f1cafb
Merge pull request #1394 from anosov1960/PAYG-transition
anosov1960 May 28, 2025
72d2782
Cleaned up and added transcript
May 30, 2025
ad6dc43
Merge pull request #1395 from anosov1960/PAYG-transition
anosov1960 May 30, 2025
be836e5
Fixed tag parameter in readme
May 30, 2025
188848c
Added prod sub example
May 30, 2025
4c05010
Merge pull request #1396 from anosov1960/PAYG-transition
anosov1960 May 30, 2025
26a6697
Fixed tag support error
May 30, 2025
95575d7
Merge pull request #1397 from anosov1960/PAYG-transition
anosov1960 May 30, 2025
d2d6f97
Fixed spelling of ExtendedProperties.SubscriptionPolices in readmes
Jun 2, 2025
ce7b4b7
Merge pull request #1398 from anosov1960/PAYG-transition
anosov1960 Jun 2, 2025
bc8bede
Fixed spelling of ExtendedProperties.SubscriptionPolices in readmes
Jun 10, 2025
8d98882
Merge pull request #1399 from anosov1960/PAYG-transition
anosov1960 Jun 10, 2025
de5129e
renames the file ext to .md
Jun 26, 2025
74c60b5
Merge pull request #1403 from anosov1960/PAYG-transition
anosov1960 Jun 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org

root = true

[*.php]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.bat]
end_of_line = crlf
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ DocProject/Help/html

# Publish Web Output
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand Down Expand Up @@ -441,3 +441,7 @@ samples/features/sql-management-objects/src/out/CodeCoverage/CodeCoverage.config
# Certificates
*.pem
*.p12

# Composer
/vendor/
/samples/databases/wide-world-importers/wwi-ssdt/wwi-ssdt/WideWorldImporters.publish.xml
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "disable"
}
Binary file added Northwind-major8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
![](./media/solutions-microsoft-logo-small.png)

# SQL Server Samples Repository
This GitHub repository contains code samples that demonstrate how to use Microsoft's SQL products including SQL Server, Azure SQL Database, and Azure SQL Data Warehouse. Each sample includes a README file that explains how to run and use the sample.
# Azure Data SQL Samples Repository
This GitHub repository contains code samples that demonstrate how to use Microsoft's Azure Data products including SQL Server, Azure SQL Database, Azure Synapse, and Azure SQL Edge. Each sample includes a README file that explains how to run and use the sample.

Note that certain features like In-Memory OLTP are edition specific for SQL Server and would be possible to implement if the edition which supports that feature is being used to run the sample.
Please note that specific features, such as In-Memory OLTP, are edition-specific for SQL Server. These features will only be available if the edition that supports them is used to run the sample.

## Releases in this repository

Releases allow you to conveniently download sample databases or applications without the need to build them from source code. This SQL Server samples repository has the following notable releases:
Releases provide convenient downloads of sample databases and applications, eliminating the need to build them from source code. This SQL Server samples repository offers the following notable releases:

- [Wide World Importers sample database v1.0](https://github.com/Microsoft/sql-server-samples/releases/tag/wide-world-importers-v1.0) is the main sample for SQL Server 2016 and Azure SQL Database. It contains both an OLTP and an OLAP database.
- [In-Memory OLTP Performance Demo v1.0](https://github.com/Microsoft/sql-server-samples/releases/tag/in-memory-oltp-demo-v1.0) illustrates the performance benefits of the In-Memory OLTP technology built into SQL Server and Azure SQL Database.
- [IoT Smart Grid sample v1.0](https://github.com/Microsoft/sql-server-samples/releases/tag/iot-smart-grid-v1.0) illustrates how SQL Server can be leveraged to ingest data from IoT devices and sensors, and how you can run analytics on that data.

To see the complete list of resources in this repository, navigate to [Releases](https://github.com/Microsoft/sql-server-samples/releases)
(this now includes an entity diagram of Northwind database) to help visual learners.

## Working in GitHub
To work in GitHub, go to https://github.com/microsoft/sql-server-samples and fork the repository. Work in your own fork and when you are ready to submit to make a change or publish your sample for the first time, submit a pull request into the master branch of sql-server-samples. One of the approvers will review your request and accept or reject the pull request.
To contribute on GitHub, follow these steps:

- Visit https://github.com/microsoft/sql-server-samples and fork the repository.
- Work in your forked repository.
- When you're ready to make changes or publish your sample for the first time, submit a pull request into the 'master' branch of 'sql-server-samples'.
- One of the approvers will review your request and either accept or reject the pull request.

Each sample should be in its own folder with a README.md file that follows the [template](README_samples_template.md). Generated files (e.g., .exe or .bacpac) and user configuration settings (e.g., .user) should not be committed to GitHub.

## Cloning only a subset of the repo (with sparse checkout)
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.
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.
```
git clone -n https://github.com/Microsoft/sql-server-samples
cd sql-server-samples
Expand Down
2 changes: 1 addition & 1 deletion README_samples_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ To run this sample, you need the following prerequisites.

2. In Visual Studio Build menu, select **Build Solution** (or Press F6).

3. Step 3 ...
3. Step 3 ...

<a name=sample-details></a>

Expand Down
41 changes: 41 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->

## Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).

If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.

## Reporting Security Issues

**Please do not report security vulnerabilities through public GitHub issues.**

Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).

If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).

Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:

* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue

This information will help us triage your report more quickly.

If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.

## Preferred Languages

We prefer all communications to be in English.

## Policy

Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).

<!-- END MICROSOFT SECURITY.MD BLOCK -->
17 changes: 17 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "microsoft/sql-server-samples",
"description": "Official Microsoft GitHub Repository containing code samples for SQL Server",
"type": "project",
"require": {
"php": ">=7.0.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5"
},
"license": "MIT",
"minimum-stability": "stable",
"scripts": {
"cs-check": "phpcs -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1",
"cs-fix": "phpcbf -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1"
}
}
72 changes: 72 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion media/demos/sql-sampledb/sampledb1/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Sample Database 1 (Employee DB Dummy Data)

This is a fundamental database that houses data based on a conventinal Sales environment. Sourced from progress.com with slight modifications.
This is a fundamental database that houses data based on a conventional Sales environment. Sourced from progress.com with slight modifications.
2 changes: 1 addition & 1 deletion media/demos/sql-sampledb/sampledb1/sampleDB1.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
This is sourced from progress.com, variation by lightofodin.
Basic database housing a sales scenario, that features employees and departments.
*/
Expand Down
Binary file added media/features/ledger/Audit-Events.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/ContosoCupBetting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Download-Receipt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Employee-ledger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Employee-ledger2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Employees-tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Ledger-Tables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Ledger-Verifications.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Michael.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Pieter.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/Place-Bet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/features/ledger/web-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<ruleset name="MS SQL Server Examples">
<description>The coding standard for MS SQL Server PHP Examples.</description>

<!-- Folders & files to be checked -->
<file>samples/tutorials/php</file>

<!-- File extensions to be checked -->
<arg name="extensions" value="php"/>

<!-- PSR-2 base standard -->
<rule ref="PSR2"/>

<!-- Disable code style sniff on side effects -->
<rule ref="PSR1">
<exclude name="PSR1.Files.SideEffects"/>
</rule>

<!-- General sniffs -->
<rule ref="Generic.Files.LineLength"/>
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
<rule ref="Squiz.Operators.ValidLogicalOperators"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/>
<rule ref="Squiz.PHP.Eval"/>
<rule ref="Generic.PHP.ForbiddenFunctions"/>
<rule ref="Squiz.PHP.NonExecutableCode"/>
<rule ref="Squiz.Classes.ClassFileName"/>
<rule ref="Squiz.Scope.MemberVarScope"/>
<rule ref="Squiz.Scope.StaticThisUsage"/>
<rule ref="Squiz.WhiteSpace.CastSpacing"/>
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace"/>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
<properties>
<property name="equalsSpacing" value="1"/>
</properties>
</rule>

</ruleset>
Binary file not shown.
Binary file not shown.
65 changes: 65 additions & 0 deletions samples/applications/azure-data-studio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!-- Always leave the MS logo -->
![](./media/solutions-microsoft-logo-small.png)

# Azure Data Studio Notebook Samples

Helpful notebooks for troubleshooting and new features in Azure Data Studio.


### Contents

[About this sample](#about-this-sample)<br/>
[Before you begin](#before-you-begin)<br/>
[Run this sample](#run-this-sample)<br/>
[Sample details](#sample-details)<br/>
[Related links](#related-links)<br/>


<a name=about-this-sample></a>

## About this sample

<!-- Delete the ones that don't apply -->
- **Applies to:** Azure Data Studio
- **Key features:** Notebook Samples
- **Programming Language:** SQL & Python Notebooks
- **Authors:** Vasu Bhog [vabhog]

<a name=before-you-begin></a>

## Before you begin

To run this sample, you need the following prerequisites.

**Software prerequisites:**

<!-- Examples -->
1. Azure Data Studio 1.30.0
2. Python


## Run this sample

<!-- Step by step instructions. Here's a few examples -->

For Parameterization.ipynb Sample:
1. From Azure Data Studio, open the **Notebook** file.
2. Follow docs for paremeteization [here](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/parameterize-papermill).


## Sample details

This Notebook allows users to follow along the docs as well as use a already parameterized notebook.

## Related Links
<!-- Links to more articles. Remember to delete "en-us" from the link path. -->

For more information, see these articles:
* [Notebooks Overview](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-guidance)
* [SQL Kernel](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-sql-kernel)
* [Python Kernel](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-python-kernel)
* [Kusto Kernel](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-kusto-kernel)
* [KqlMagic](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-kqlmagic)
* [Papermill Parameterization](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/parameterize-papermill)
* [URI Parameterization](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/parameterize-uri)
* [Run with Parameters](https://docs.microsoft.com/en-us/sql/azure-data-studio/notebooks/run-with-parameters)
Loading