- Notifications
You must be signed in to change notification settings - Fork0
Azure Data SQL Samples - Official Microsoft GitHub Repository containing code samples for SQL Server, Azure SQL, Azure Synapse, and Azure SQL Edge
License
azurah/sql-server-samples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
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:
- Wide World Importers sample database 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 illustrates the performance benefits of the In-Memory OLTP technology built into SQL Server and Azure SQL Database.
- IoT Smart Grid sample 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 toReleases
To work in GitHub, go tohttps://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.
Each sample should be in its own folder with a README.md file that follows thetemplate. Generated files (e.g., .exe or .bacpac) and user configuration settings (e.g., .user) should not be committed to GitHub.
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 thefeatures anddemos folders.
git clone -n https://github.com/Microsoft/sql-server-samplescd sql-server-samplesgit config core.sparsecheckout trueecho samples/features/*| out-file -append -encoding ascii .git/info/sparse-checkoutecho samples/demos/*| out-file -append -encoding ascii .git/info/sparse-checkoutgit checkout
For more information about sparse checkout please visitthis stackoverflow thread.
This project has adopted theMicrosoft Open Source Code of Conduct. For more information see theCode of Conduct FAQ or contactopencode@microsoft.com with any additional questions or comments.
These samples and templates are all licensed under the MIT license. See the license.txt file in the root.
Email questions to:sqlserversamples@microsoft.com.
About
Azure Data SQL Samples - Official Microsoft GitHub Repository containing code samples for SQL Server, Azure SQL, Azure Synapse, and Azure SQL Edge
Resources
License
Uh oh!
There was an error while loading.Please reload this page.