Skip to content

Commit 73a418a

Browse files
authored
Merge branch 'master' into master
2 parents 0c31f95 + 8e892b9 commit 73a418a

631 files changed

Lines changed: 97146 additions & 70097 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: 91 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3-
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
53

64
# User-specific files
75
*.suo
@@ -19,10 +17,11 @@
1917
[Rr]eleases/
2018
x64/
2119
x86/
20+
build/
2221
bld/
2322
[Bb]in/
2423
[Oo]bj/
25-
[Ll]og/
24+
out/
2625

2726
# Visual Studio 2015 cache/options directory
2827
.vs/
@@ -50,6 +49,9 @@ project.lock.json
5049
project.fragment.lock.json
5150
artifacts/
5251
**/Properties/launchSettings.json
52+
# DNX
53+
project.lock.json
54+
artifacts/
5355

5456
*_i.c
5557
*_p.c
@@ -89,6 +91,9 @@ ipch/
8991
*.cachefile
9092
*.VC.db
9193
*.VC.VC.opendb
94+
*.opensdf
95+
*.sdf
96+
*.cachefile
9297

9398
# Visual Studio profiler
9499
*.psess
@@ -153,47 +158,30 @@ DocProject/Help/Html2
153158
DocProject/Help/html
154159

155160
# Click-Once directory
156-
#publish/
161+
# publish/
157162

158163
# Publish Web Output
159-
#*.[Pp]ublish.xml
160164
*.azurePubxml
161-
# Note: Comment the next line if you want to checkin your web deploy settings,
165+
# TODO: Comment the next line if you want to checkin your web deploy settings
162166
# but database connection strings (with potential passwords) will be unencrypted
163167
*.pubxml
164168
*.publishproj
165169

166-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
167-
# checkin your Azure Web App publish settings, but sensitive information contained
168-
# in these scripts will be unencrypted
169-
PublishScripts/
170-
171170
# NuGet Packages
172171
*.nupkg
173172
# The packages folder can be ignored because of Package Restore
174-
**/[Pp]ackages/*
173+
**/packages/*
175174
# except build/, which is used as an MSBuild target.
176-
!**/[Pp]ackages/build/
175+
!**/packages/build/
177176
# Uncomment if necessary however generally it will be regenerated when needed
178-
#!**/[Pp]ackages/repositories.config
179-
# NuGet v3's project.json files produces more ignorable files
180-
*.nuget.props
181-
*.nuget.targets
177+
#!**/packages/repositories.config
182178

183-
# Microsoft Azure Build Output
179+
# Windows Azure Build Output
184180
csx/
185181
*.build.csdef
186182

187-
# Microsoft Azure Emulator
188-
ecf/
189-
rcf/
190-
191-
# Windows Store app package directories and files
183+
# Windows Store app package directory
192184
AppPackages/
193-
BundleArtifacts/
194-
Package.StoreAssociation.xml
195-
_pkginfo.txt
196-
*.appx
197185

198186
# Visual Studio cache files
199187
# files ending in .cache can be ignored
@@ -203,6 +191,7 @@ _pkginfo.txt
203191

204192
# Others
205193
ClientBin/
194+
[Ss]tyle[Cc]op.*
206195
~$*
207196
*~
208197
*.dbmdl
@@ -216,6 +205,11 @@ orleans.codegen.cs
216205
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
217206
#bower_components/
218207

208+
*.pfx
209+
*.publishsettings
210+
node_modules/
211+
orleans.codegen.cs
212+
219213
# RIA/Silverlight projects
220214
Generated_Code/
221215

@@ -249,6 +243,8 @@ node_modules/
249243

250244
# Typescript v1 declaration files
251245
typings/
246+
# Node.js Tools for Visual Studio
247+
.ntvs_analysis.dat
252248

253249
# Visual Studio 6 build log
254250
*.plg
@@ -304,6 +300,61 @@ __pycache__/
304300
# OpenCover UI analysis results
305301
OpenCover/
306302

303+
/build
304+
/Build
305+
/deploy
306+
/package
307+
bin/
308+
obj/
309+
sql/
310+
*/obj/debug
311+
**/Debug
312+
#ignore thumbnails created by windows
313+
Thumbs.db
314+
#Ignore files build by Visual Studio
315+
*.obj
316+
*.pdb
317+
*.user
318+
*.aps
319+
*.pch
320+
*.docstates
321+
*.vspscc
322+
*_i.c
323+
*_p.c
324+
*.ncb
325+
*.suo
326+
*.tlb
327+
*.dbmdl
328+
*.schemaview
329+
*.tlh
330+
*.cache
331+
*.ilk
332+
*.log
333+
[Bb]in
334+
[Dd]ebug*/
335+
*.lib
336+
*.sbr
337+
obj/
338+
[Rr]elease*/
339+
_ReSharper*/
340+
[Tt]est[Rr]esult*
341+
*.docstates
342+
*.swp
343+
*.*~
344+
*.gpState
345+
*.ReSharper*
346+
*.preflight
347+
*.nocommit
348+
#Ignore Recovery Files made by Excel
349+
~$*.xlsx
350+
*.rdl.data
351+
352+
*.jfm
353+
354+
#======================================================================================
355+
# The below section could possibly be removed as these should be ignored by the above.
356+
#======================================================================================
357+
307358
samples/in-memory/ticket-reservations/DemoWorkload/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
308359
*.nupkg
309360
samples/in-memory/ticket-reservations/packages/CircularGauge.1.0.0/CreatePackageFile.bat
@@ -377,3 +428,16 @@ samples/applications/iot-smart-grid/ConsoleClient/obj/Debug/TemporaryGeneratedFi
377428
samples/applications/iot-smart-grid/WinFormsClient/bin/Release/Client.exe.config
378429
samples/databases/wide-world-importers/workload-drivers/order-insert/MultithreadedOrderInsert/bin/Release/MultithreadedOrderInsert.exe.config
379430
samples/databases/wide-world-importers/workload-drivers/order-insert/MultithreadedOrderInsert/obj/Debug/MultithreadedInMemoryTableInsert.MultithreadedOrderInsertMain.resources
431+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationErrors.rdl.data
432+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationErrorDetails.rdl.data
433+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyEvaluationDetails.rdl.data
434+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDetails.rdl.data
435+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboard.rdl.data
436+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/bin/Debug
437+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboard - Backup.rdl
438+
/samples/features/epm-framework/5.0/2Reporting/PolicyReports/PolicyDashboardFiltered.rdl.data
439+
samples/features/sql-management-objects/src/out/CodeCoverage/CodeCoverage.config
440+
441+
# Certificates
442+
*.pem
443+
*.p12

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
![](./media/solutions-microsoft-logo-small.png)
2+
13
# SQL Server Samples Repository
24
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.
35

README_samples_template.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<!-- Always leave the MS logo -->
2+
![](./media/solutions-microsoft-logo-small.png)
3+
14
# Sample name
25

36
Briefly describe what the sample does. Describe the benefit of running this sample.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Sample Database 1 (Employee DB Dummy Data)
2+
3+
This is a fundamental database that houses data based on a conventinal Sales environment. Sourced from progress.com with slight modifications.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*
2+
This is sourced from progress.com, variation by lightofodin.
3+
Basic database housing a sales scenario, that features employees and departments.
4+
*/
5+
CREATE TABLE emp (
6+
empno INT PRIMARY KEY,
7+
ename VARCHAR(10),
8+
job VARCHAR(9),
9+
mgr INT NULL,
10+
hiredate DATETIME,
11+
sal NUMERIC(7,2),
12+
comm NUMERIC(7,2) NULL,
13+
dept INT)
14+
begin
15+
insert into emp values
16+
(1,'JOHNSON','ADMIN',6,'12-17-1990',18000,NULL,4)
17+
insert into emp values
18+
(2,'HARDING','MANAGER',9,'02-02-1998',52000,300,3)
19+
insert into emp values
20+
(3,'TAFT','SALES I',2,'01-02-1996',25000,500,3)
21+
insert into emp values
22+
(4,'HOOVER','SALES I',2,'04-02-1990',27000,NULL,3)
23+
insert into emp values
24+
(5,'LINCOLN','TECH',6,'06-23-1994',22500,1400,4)
25+
insert into emp values
26+
(6,'GARFIELD','MANAGER',9,'05-01-1993',54000,NULL,4)
27+
insert into emp values
28+
(7,'POLK','TECH',6,'09-22-1997',25000,NULL,4)
29+
insert into emp values
30+
(8,'GRANT','ENGINEER',10,'03-30-1997',32000,NULL,2)
31+
insert into emp values
32+
(9,'JACKSON','CEO',NULL,'01-01-1990',75000,NULL,4)
33+
insert into emp values
34+
(10,'FILLMORE','MANAGER',9,'08-09-1994',56000,NULL,2)
35+
insert into emp values
36+
(11,'ADAMS','ENGINEER',10,'03-15-1996',34000,NULL,2)
37+
insert into emp values
38+
(12,'WASHINGTON','ADMIN',6,'04-16-1998',18000,NULL,4)
39+
insert into emp values
40+
(13,'MONROE','ENGINEER',10,'12-03-2000',30000,NULL,2)
41+
insert into emp values
42+
(14,'ROOSEVELT','CPA',9,'10-12-1995',35000,NULL,1)
43+
end
44+
CREATE TABLE dept (
45+
deptno INT NOT NULL,
46+
dname VARCHAR(14),
47+
loc VARCHAR(13))
48+
begin
49+
insert into dept values (1,'ACCOUNTING','ST LOUIS')
50+
insert into dept values (2,'RESEARCH','NEW YORK')
51+
insert into dept values (3,'SALES','ATLANTA')
52+
insert into dept values (4, 'OPERATIONS','SEATTLE')
53+
end
2.38 KB
Loading

samples/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Sample Categories
1+
![](../media/solutions-microsoft-logo-small.png)
22

3-
__[applications](applications/)__
3+
# Sample Categories
44

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

@@ -22,8 +22,8 @@ Samples that help with the management of SQL Server and Azure SQL Database.
2222

2323
__[tutorials](tutorials/)__
2424

25-
Samples showing how to connect to SQL databases using various programming languages, including Python, C#, Java, Ruby, Node.js, and PHP.
25+
Samples showing how to connect to SQL databases using various programming languages, including Python, C#, F#, Java, Ruby, Node.js, and PHP.
2626

2727
__[containers](containers/)__
2828

29-
Samples showing various SQL Server in container scenarios.
29+
Samples showing various SQL Server in container scenarios.

samples/applications/aspnet-session-state/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ The code included in this sample is not intended to be a set of best practices o
6060
For more information, see these articles:
6161

6262
- [In-Memory OLTP (In-Memory Optimization)](https://msdn.microsoft.com/en-us/library/dn133186.aspx)
63-
- [OLTP and database management](https://www.microsoft.com/en-us/server-cloud/solutions/oltp-database-management.aspx)
63+
- [OLTP and database management](https://www.microsoft.com/en-us/sql-server/oltp-database-management)
6464
- [Session State Provider](https://msdn.microsoft.com/en-us/library/aa478952.aspx)
6565
- [Implementing a Session-State Store Provider](https://msdn.microsoft.com/en-us/library/ms178587.aspx)
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)