Skip to content
Open

. #1482

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2368 commits
Select commit Hold shift + click to select a range
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
2acae54
fix: samples/tutorials/AzureSqlGettingStartedSamples/java/Windows/Azu…
snyk-bot Dec 5, 2024
0ff9959
Bump path-to-regexp and express
dependabot[bot] Dec 5, 2024
a52d1ee
Bump nanoid
dependabot[bot] Dec 11, 2024
47610ee
Create clone the fork
kalpitabirhade28 Dec 19, 2024
e74af02
adding more charts to health dashboard
twright-msft Jan 19, 2025
ca36f6f
Bump System.Linq.Dynamic.Core
dependabot[bot] Jan 27, 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
680dfad
Fix some typos @ ruleset.json
ClaudioESSilva Apr 14, 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
f5eea20
Add sp_query_store_modify_hints_by_query_hash (#1406)
dimitri-furman Jul 24, 2025
5bbebaf
Merge pull request #1367 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jul 25, 2025
b956229
Merge pull request #1369 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jul 25, 2025
c6787a2
Merge pull request #1377 from microsoft/dependabot/nuget/samples/feat…
uc-msft Jul 25, 2025
ecba7dd
Merge pull request #1388 from ClaudioESSilva/patch-1
uc-msft Jul 25, 2025
60f375b
Bump on-headers and compression
dependabot[bot] Jul 25, 2025
dba32fa
Merge pull request #1368 from bamboo5-dot/snyk-fix-f085cf0018aca8f150…
uc-msft Jul 25, 2025
72b4498
Merge pull request #1407 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jul 25, 2025
921b108
Merge pull request #1372 from kalpitabirhade28/patch-1
uc-msft Jul 25, 2025
94c386b
Bump http-proxy-middleware
dependabot[bot] Jul 25, 2025
0a5e83a
Merge pull request #1408 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Jul 28, 2025
575973a
Bump on-headers and compression
dependabot[bot] Jul 28, 2025
315ec23
Merge pull request #1410 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Aug 7, 2025
d96ed43
Bump form-data
dependabot[bot] Aug 7, 2025
2d2a220
Bump tmp and eslint
dependabot[bot] Aug 7, 2025
f13ce4d
Merge pull request #1411 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Aug 7, 2025
2a1c19c
Merge pull request #1412 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Aug 7, 2025
ea5f247
Bump @babel/runtime-corejs3
dependabot[bot] Aug 7, 2025
9947e4b
Merge pull request #1413 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Sep 18, 2025
1cd0ee7
Bump brace-expansion
dependabot[bot] Sep 18, 2025
1bf67cc
Change wording for power plan check
jpomfret Oct 1, 2025
726407e
Merge pull request #1419 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 4, 2025
e6d0793
Merge pull request #1423 from jpomfret/patch-1
uc-msft Oct 4, 2025
5f51d5d
Bump @babel/helpers
dependabot[bot] Oct 4, 2025
16707d9
Remove password in cleartext
zoran-rilak-msft Aug 19, 2025
f04a0ec
Remove ports 11xxx
zoran-rilak-msft Oct 9, 2025
e920533
Skip if LT=DR
Oct 13, 2025
05af924
Added a footnote to readme re the DR replicas
Oct 13, 2025
fe7c8d7
Improved DR filtering
Oct 13, 2025
b8c6b1f
Turn off login V2
Oct 13, 2025
83b8c33
Turned off login V2 in the arc script
Oct 13, 2025
e0577ae
Fixed encoding in MI query
Oct 14, 2025
57e5b0a
Removed DR from filter for MI
Oct 14, 2025
6637c0e
Merge pull request #1430 from anosov1960/PAYG-transition
anosov1960 Oct 14, 2025
c24d66c
Merge pull request #1428 from zoran-rilak-msft/sqlmi-vpn-passwdfix
uc-msft Oct 20, 2025
c6fdf77
Merge pull request #1429 from zoran-rilak-msft/sqlmi-redirect-ports
uc-msft Oct 20, 2025
16ec9ca
Merge pull request #1424 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Oct 20, 2025
3dd6f95
Bump serialize-javascript
dependabot[bot] Oct 20, 2025
95179b9
Add Payg-SQLArc policy
Oct 24, 2025
be798c0
renamed folder
Oct 24, 2025
d73bc9a
Merge pull request #1432 from anosov1960/PAYG-transition
anosov1960 Oct 24, 2025
6a180c6
added payg-sqlmi policy
Oct 28, 2025
c61d2a6
Merge pull request #1434 from anosov1960/PAYG-transition
anosov1960 Oct 28, 2025
e770da3
Fixed typo
Oct 28, 2025
8f91d85
Fixed typos
Oct 28, 2025
5da9b41
Fixed SQLMI policy errors
Oct 29, 2025
eddb7b3
Merge pull request #1435 from anosov1960/PAYG-transition
anosov1960 Oct 29, 2025
6c9cfb6
Grammar Update for Improved Clarity
erhebend-tai Nov 4, 2025
058d7b4
Bump com.microsoft.sqlserver:mssql-jdbc
dependabot[bot] Nov 5, 2025
c4b7744
creating a hashtable for the settings to fix the az extension configu…
bertneef Nov 14, 2025
b47eadc
AdventureWorks 2025 updates
rwestMSFT Oct 17, 2025
2a1d2a1
Bump js-yaml
dependabot[bot] Nov 15, 2025
bcee228
Merge pull request #1444 from rwestMSFT/rw-1016-aw2025
MashaMSFT Nov 18, 2025
645b8f4
Bump com.microsoft.sqlserver:mssql-jdbc
dependabot[bot] Nov 18, 2025
fcd706f
Bump node-forge
dependabot[bot] Nov 26, 2025
e672d3b
Bump js-yaml
dependabot[bot] Nov 27, 2025
20c97e9
Merge pull request #1447 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Dec 4, 2025
783247f
Merge pull request #1446 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Dec 4, 2025
d424d8b
Merge pull request #1445 from microsoft/dependabot/maven/samples/tuto…
uc-msft Dec 4, 2025
6a77950
Merge pull request #1442 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Dec 4, 2025
8978d25
Merge pull request #1438 from microsoft/dependabot/maven/samples/tuto…
uc-msft Dec 4, 2025
c6c8626
Merge pull request #1431 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Dec 4, 2025
527c308
Merge pull request #1437 from erhebend-tai/patch-1
uc-msft Dec 4, 2025
e067987
Merge pull request #1440 from bertneef/master
uc-msft Dec 4, 2025
24f7666
Initial commit create-configure-optimizedlocking-db.sql
segovoni Dec 7, 2025
0b3cc1c
Initial commit of Optimized Locking TID sample README
segovoni Dec 7, 2025
d6ec888
Merge branch 'microsoft:master' into sgovoni/samples/features/optimiz…
segovoni Dec 7, 2025
5d9a858
Add examples and output to optimized-locking README.md
segovoni Dec 7, 2025
e4ddffc
Add Optimized Locking section
segovoni Dec 7, 2025
5f8d3d8
Simplify and enhance optimized-locking README.md
segovoni Dec 7, 2025
51b0993
Cosmetic care
segovoni Dec 7, 2025
6378609
Update Twitter to X
segovoni Dec 7, 2025
bcf3bdc
Enhance README with grammar corrections, clearer explanations, and be…
segovoni Dec 8, 2025
e928c61
Improve OptimizedLocking database setup script
segovoni Dec 8, 2025
7a3e49a
Enhance features README with Optimized Locking details and fix typo
segovoni Dec 8, 2025
c68199c
Add a columnstore order quality sample (#1459)
dimitri-furman Jan 12, 2026
51edf8e
Remove Azure SQL Edge Wind Turbine Demo
MikeRayMSFT Jan 26, 2026
0232326
Merge pull request #1461 from MikeRayMSFT/remove-wind-turbine-demo
uc-msft Jan 26, 2026
9778a9c
Replace DBCC commands with DMV queries in TID locking sample
segovoni Feb 6, 2026
412778b
Merge branch 'microsoft:master' into sgovoni/samples/features/optimiz…
segovoni Feb 6, 2026
8e004e3
added missing parameters to update ext cmd
anosov1960 Feb 9, 2026
503e004
Update script URL in README for license modification
anosov1960 Feb 9, 2026
00a8ca7
Delete samples/features/sql-big-data-cluster directory
MikeRayMSFT Feb 23, 2026
464f5f7
Merge pull request #1463 from MikeRayMSFT/master
MikeRayMSFT Feb 23, 2026
1264508
Updating to allow restore with more parameters
iwrinshow Feb 26, 2026
bc9a4e5
Bump minimatch
dependabot[bot] Feb 28, 2026
d9263b8
Merge pull request #1465 from iwrinshow/master
MashaMSFT Mar 16, 2026
77df669
Bump flatted
dependabot[bot] Mar 21, 2026
7d59809
Add AdventureWorks release link to README
MashaMSFT Mar 31, 2026
62ee48c
Update AdventureWorks description in README
MashaMSFT Mar 31, 2026
9b40c9f
Add arc-sql-licence-type-compliance policy
Apr 2, 2026
dacaebe
Rename arc-sql-licence-type-compliance to arc-sql-license-type-compli…
Apr 2, 2026
b2b511c
Merge pull request #1474 from anosov1960/master
anosov1960 Apr 2, 2026
90195f1
Add custom Azure Policy for Arc SQL Server license type configuration
claestom Apr 2, 2026
b9c5e80
Merge pull request #1471 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Apr 2, 2026
f0df934
Merge pull request #1464 from microsoft/dependabot/npm_and_yarn/sampl…
uc-msft Apr 2, 2026
5908084
Merge pull request #1453 from segovoni/sgovoni/samples/features/optim…
uc-msft Apr 2, 2026
6c6eba3
Merge pull request #1475 from claestom/sql-arc-lt-policy
anosov1960 Apr 3, 2026
626538f
Replace git clone with curl downloads in README
claestom Apr 4, 2026
74df34e
Make ManagementGroupId optional, default to tenant root management group
claestom Apr 4, 2026
546847b
Make policy definition and assignment display names generic
claestom Apr 4, 2026
868cc27
Add dynamic license type label to policy display names
claestom Apr 4, 2026
bdc1ebf
Improve deployment and remediation README sections with variable setup
claestom Apr 4, 2026
56a70bb
Add ConsentToRecurringPAYG support and role assignment retry logic
claestom Apr 7, 2026
3159341
Update README: rename section to 'What Is In This Folder', remove Scr…
claestom Apr 7, 2026
b1ff6e6
Merge pull request #1476 from claestom/sql-arc-lt-policy-v2
anosov1960 Apr 8, 2026
438ce96
Merge pull request #1 from microsoft/master
mccoystevens079-prog Apr 24, 2026
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
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ build/
bld/
[Bb]in/
[Oo]bj/
out/

# Visual Studio 2015 cache/options directory
.vs/
Expand Down Expand Up @@ -161,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 @@ -435,3 +436,12 @@ samples/databases/wide-world-importers/workload-drivers/order-insert/Multithread
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/bin/Debug
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboard - Backup.rdl
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboardFiltered.rdl.data
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.
21 changes: 15 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
# 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.
![](./media/solutions-microsoft-logo-small.png)

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.
# 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.

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.
- [AdventureWorks](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks) is a sample database with OLTP, data warehouse and lightweight database options.
- [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
5 changes: 4 additions & 1 deletion README_samples_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Always leave the MS logo -->
![](./media/solutions-microsoft-logo-small.png)

# Sample name

Briefly describe what the sample does. Describe the benefit of running this sample.
Expand Down Expand Up @@ -56,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 -->
2 changes: 2 additions & 0 deletions clone the fork
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
git clone https://github.com/<your-username>/sql-server-samples.git
cd sql-server-samples
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.

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

This is a fundamental database that houses data based on a conventional Sales environment. Sourced from progress.com with slight modifications.
53 changes: 53 additions & 0 deletions media/demos/sql-sampledb/sampledb1/sampleDB1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*
This is sourced from progress.com, variation by lightofodin.
Basic database housing a sales scenario, that features employees and departments.
*/
CREATE TABLE emp (
empno INT PRIMARY KEY,
ename VARCHAR(10),
job VARCHAR(9),
mgr INT NULL,
hiredate DATETIME,
sal NUMERIC(7,2),
comm NUMERIC(7,2) NULL,
dept INT)
begin
insert into emp values
(1,'JOHNSON','ADMIN',6,'12-17-1990',18000,NULL,4)
insert into emp values
(2,'HARDING','MANAGER',9,'02-02-1998',52000,300,3)
insert into emp values
(3,'TAFT','SALES I',2,'01-02-1996',25000,500,3)
insert into emp values
(4,'HOOVER','SALES I',2,'04-02-1990',27000,NULL,3)
insert into emp values
(5,'LINCOLN','TECH',6,'06-23-1994',22500,1400,4)
insert into emp values
(6,'GARFIELD','MANAGER',9,'05-01-1993',54000,NULL,4)
insert into emp values
(7,'POLK','TECH',6,'09-22-1997',25000,NULL,4)
insert into emp values
(8,'GRANT','ENGINEER',10,'03-30-1997',32000,NULL,2)
insert into emp values
(9,'JACKSON','CEO',NULL,'01-01-1990',75000,NULL,4)
insert into emp values
(10,'FILLMORE','MANAGER',9,'08-09-1994',56000,NULL,2)
insert into emp values
(11,'ADAMS','ENGINEER',10,'03-15-1996',34000,NULL,2)
insert into emp values
(12,'WASHINGTON','ADMIN',6,'04-16-1998',18000,NULL,4)
insert into emp values
(13,'MONROE','ENGINEER',10,'12-03-2000',30000,NULL,2)
insert into emp values
(14,'ROOSEVELT','CPA',9,'10-12-1995',35000,NULL,1)
end
CREATE TABLE dept (
deptno INT NOT NULL,
dname VARCHAR(14),
loc VARCHAR(13))
begin
insert into dept values (1,'ACCOUNTING','ST LOUIS')
insert into dept values (2,'RESEARCH','NEW YORK')
insert into dept values (3,'SALES','ATLANTA')
insert into dept values (4, 'OPERATIONS','SEATTLE')
end
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.
Binary file added media/solutions-microsoft-logo-small.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>
6 changes: 3 additions & 3 deletions samples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sample Categories
![](../media/solutions-microsoft-logo-small.png)

__[applications](applications/)__
# Sample Categories

End-to-end sample applications that illustrate the use of SQL Server for specific application scenarios.

Expand All @@ -26,4 +26,4 @@ Samples showing how to connect to SQL databases using various programming langua

__[containers](containers/)__

Samples showing various SQL Server in container scenarios.
Samples showing various SQL Server in container scenarios.
Binary file not shown.
Binary file not shown.
Loading