Skip to content

Commit 9acd707

Browse files
committed
Merge branch 'master' of https://github.com/Microsoft/sql-server-samples into 20190311-p2s-article
2 parents 637e490 + 2bff4dc commit 9acd707

1,914 files changed

Lines changed: 978698 additions & 78742 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 364 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,359 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.userosscache
8+
*.sln.docstates
9+
10+
# User-specific files (MonoDevelop/Xamarin Studio)
11+
*.userprefs
12+
13+
# Build results
14+
[Dd]ebug/
15+
[Dd]ebugPublic/
16+
[Rr]elease/
17+
[Rr]eleases/
18+
x64/
19+
x86/
20+
build/
21+
bld/
22+
[Bb]in/
23+
[Oo]bj/
24+
25+
# Visual Studio 2015 cache/options directory
26+
.vs/
27+
# Uncomment if you have tasks that create the project's static files in wwwroot
28+
#wwwroot/
29+
30+
# MSTest test Results
31+
[Tt]est[Rr]esult*/
32+
[Bb]uild[Ll]og.*
33+
34+
# NUNIT
35+
*.VisualState.xml
36+
TestResult.xml
37+
38+
# Build Results of an ATL Project
39+
[Dd]ebugPS/
40+
[Rr]eleasePS/
41+
dlldata.c
42+
43+
# Benchmark Results
44+
BenchmarkDotNet.Artifacts/
45+
46+
# .NET Core
47+
project.lock.json
48+
project.fragment.lock.json
49+
artifacts/
50+
**/Properties/launchSettings.json
51+
# DNX
52+
project.lock.json
53+
artifacts/
54+
55+
*_i.c
56+
*_p.c
57+
*_i.h
58+
*.ilk
59+
*.meta
60+
*.obj
61+
*.pch
62+
*.pdb
63+
*.pgc
64+
*.pgd
65+
*.rsp
66+
*.sbr
67+
*.tlb
68+
*.tli
69+
*.tlh
70+
*.tmp
71+
*.tmp_proj
72+
*.log
73+
*.vspscc
74+
*.vssscc
75+
.builds
76+
*.pidb
77+
*.svclog
78+
*.scc
79+
80+
# Chutzpah Test files
81+
_Chutzpah*
82+
83+
# Visual C++ cache files
84+
ipch/
85+
*.aps
86+
*.ncb
87+
*.opendb
88+
*.opensdf
89+
*.sdf
90+
*.cachefile
91+
*.VC.db
92+
*.VC.VC.opendb
93+
*.opensdf
94+
*.sdf
95+
*.cachefile
96+
97+
# Visual Studio profiler
98+
*.psess
99+
*.vsp
100+
*.vspx
101+
*.sap
102+
103+
# Visual Studio Trace Files
104+
*.e2e
105+
106+
# TFS 2012 Local Workspace
107+
$tf/
108+
109+
# Guidance Automation Toolkit
110+
*.gpState
111+
112+
# ReSharper is a .NET coding add-in
113+
_ReSharper*/
114+
*.[Rr]e[Ss]harper
115+
*.DotSettings.user
116+
117+
# JustCode is a .NET coding add-in
118+
.JustCode
119+
120+
# TeamCity is a build add-in
121+
_TeamCity*
122+
123+
# DotCover is a Code Coverage Tool
124+
*.dotCover
125+
126+
# AxoCover is a Code Coverage Tool
127+
.axoCover/*
128+
!.axoCover/settings.json
129+
130+
# Visual Studio code coverage results
131+
*.coverage
132+
*.coveragexml
133+
134+
# NCrunch
135+
_NCrunch_*
136+
.*crunch*.local.xml
137+
nCrunchTemp_*
138+
139+
# MightyMoose
140+
*.mm.*
141+
AutoTest.Net/
142+
143+
# Web workbench (sass)
144+
.sass-cache/
145+
146+
# Installshield output folder
147+
[Ee]xpress/
148+
149+
# DocProject is a documentation generator add-in
150+
DocProject/buildhelp/
151+
DocProject/Help/*.HxT
152+
DocProject/Help/*.HxC
153+
DocProject/Help/*.hhc
154+
DocProject/Help/*.hhk
155+
DocProject/Help/*.hhp
156+
DocProject/Help/Html2
157+
DocProject/Help/html
158+
159+
# Click-Once directory
160+
# publish/
161+
162+
# Publish Web Output
163+
*.azurePubxml
164+
# TODO: Comment the next line if you want to checkin your web deploy settings
165+
# but database connection strings (with potential passwords) will be unencrypted
166+
*.pubxml
167+
*.publishproj
168+
169+
# NuGet Packages
170+
*.nupkg
171+
# The packages folder can be ignored because of Package Restore
172+
**/packages/*
173+
# except build/, which is used as an MSBuild target.
174+
!**/packages/build/
175+
# Uncomment if necessary however generally it will be regenerated when needed
176+
#!**/packages/repositories.config
177+
178+
# Windows Azure Build Output
179+
csx/
180+
*.build.csdef
181+
182+
# Windows Store app package directory
183+
AppPackages/
184+
185+
# Visual Studio cache files
186+
# files ending in .cache can be ignored
187+
*.[Cc]ache
188+
# but keep track of directories ending in .cache
189+
!*.[Cc]ache/
190+
191+
# Others
192+
ClientBin/
193+
[Ss]tyle[Cc]op.*
194+
~$*
195+
*~
196+
*.dbmdl
197+
*.dbproj.schemaview
198+
*.jfm
199+
*.pfx
200+
*.publishsettings
201+
orleans.codegen.cs
202+
203+
# Since there are multiple workflows, uncomment next line to ignore bower_components
204+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
205+
#bower_components/
206+
207+
*.pfx
208+
*.publishsettings
209+
node_modules/
210+
orleans.codegen.cs
211+
212+
# RIA/Silverlight projects
213+
Generated_Code/
214+
215+
# Backup & report files from converting an old project file
216+
# to a newer Visual Studio version. Backup files are not needed,
217+
# because we have git ;-)
218+
_UpgradeReport_Files/
219+
Backup*/
220+
UpgradeLog*.XML
221+
UpgradeLog*.htm
222+
223+
# SQL Server files
224+
*.mdf
225+
*.ldf
226+
*.ndf
227+
228+
# Business Intelligence projects
229+
*.rdl.data
230+
*.bim.layout
231+
*.bim_*.settings
232+
233+
# Microsoft Fakes
234+
FakesAssemblies/
235+
236+
# GhostDoc plugin setting file
237+
*.GhostDoc.xml
238+
239+
# Node.js Tools for Visual Studio
240+
.ntvs_analysis.dat
241+
node_modules/
242+
243+
# Typescript v1 declaration files
244+
typings/
245+
# Node.js Tools for Visual Studio
246+
.ntvs_analysis.dat
247+
248+
# Visual Studio 6 build log
249+
*.plg
250+
251+
# Visual Studio 6 workspace options file
252+
*.opt
253+
254+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
255+
*.vbw
256+
257+
# Visual Studio LightSwitch build output
258+
**/*.HTMLClient/GeneratedArtifacts
259+
**/*.DesktopClient/GeneratedArtifacts
260+
**/*.DesktopClient/ModelManifest.xml
261+
**/*.Server/GeneratedArtifacts
262+
**/*.Server/ModelManifest.xml
263+
_Pvt_Extensions
264+
265+
# Paket dependency manager
266+
.paket/paket.exe
267+
paket-files/
268+
269+
# FAKE - F# Make
270+
.fake/
271+
272+
# JetBrains Rider
273+
.idea/
274+
*.sln.iml
275+
276+
# CodeRush
277+
.cr/
278+
279+
# Python Tools for Visual Studio (PTVS)
280+
__pycache__/
281+
*.pyc
282+
283+
# Cake - Uncomment if you are using it
284+
# tools/**
285+
# !tools/packages.config
286+
287+
# Tabs Studio
288+
*.tss
289+
290+
# Telerik's JustMock configuration file
291+
*.jmconfig
292+
293+
# BizTalk build output
294+
*.btp.cs
295+
*.btm.cs
296+
*.odx.cs
297+
*.xsd.cs
298+
299+
# OpenCover UI analysis results
300+
OpenCover/
301+
302+
/build
303+
/Build
304+
/deploy
305+
/package
306+
bin/
307+
obj/
308+
sql/
309+
*/obj/debug
310+
**/Debug
311+
#ignore thumbnails created by windows
312+
Thumbs.db
313+
#Ignore files build by Visual Studio
314+
*.obj
315+
*.pdb
316+
*.user
317+
*.aps
318+
*.pch
319+
*.docstates
320+
*.vspscc
321+
*_i.c
322+
*_p.c
323+
*.ncb
324+
*.suo
325+
*.tlb
326+
*.dbmdl
327+
*.schemaview
328+
*.tlh
329+
*.cache
330+
*.ilk
331+
*.log
332+
[Bb]in
333+
[Dd]ebug*/
334+
*.lib
335+
*.sbr
336+
obj/
337+
[Rr]elease*/
338+
_ReSharper*/
339+
[Tt]est[Rr]esult*
340+
*.docstates
341+
*.swp
342+
*.*~
343+
*.gpState
344+
*.ReSharper*
345+
*.preflight
346+
*.nocommit
347+
#Ignore Recovery Files made by Excel
348+
~$*.xlsx
349+
*.rdl.data
350+
351+
*.jfm
352+
353+
#======================================================================================
354+
# The below section could possibly be removed as these should be ignored by the above.
355+
#======================================================================================
356+
1357
samples/in-memory/ticket-reservations/DemoWorkload/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
2358
*.nupkg
3359
samples/in-memory/ticket-reservations/packages/CircularGauge.1.0.0/CreatePackageFile.bat
@@ -71,3 +427,11 @@ samples/applications/iot-smart-grid/ConsoleClient/obj/Debug/TemporaryGeneratedFi
71427
samples/applications/iot-smart-grid/WinFormsClient/bin/Release/Client.exe.config
72428
samples/databases/wide-world-importers/workload-drivers/order-insert/MultithreadedOrderInsert/bin/Release/MultithreadedOrderInsert.exe.config
73429
samples/databases/wide-world-importers/workload-drivers/order-insert/MultithreadedOrderInsert/obj/Debug/MultithreadedInMemoryTableInsert.MultithreadedOrderInsertMain.resources
430+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationErrors.rdl.data
431+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationErrorDetails.rdl.data
432+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationDetails.rdl.data
433+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDetails.rdl.data
434+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboard.rdl.data
435+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/bin/Debug
436+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboard - Backup.rdl
437+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboardFiltered.rdl.data

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ To work in GitHub, go to https://github.com/microsoft/sql-server-samples and for
1818

1919
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.
2020

21+
## Cloning only a subset of the repo (with sparse checkout)
22+
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.
23+
```
24+
git clone -n https://github.com/Microsoft/sql-server-samples
25+
cd sql-server-samples
26+
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
29+
git checkout
30+
```
31+
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.
32+
2133
## Code of Conduct
2234
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
2335

media/auto-tuning.png

17 KB
Loading
74 KB
Loading
69.9 KB
Loading
108 KB
Loading
67.6 KB
Loading
148 KB
Loading

0 commit comments

Comments
 (0)