sql-server-samples

官方Microsoft GitHub存储库,包含SQL Server的代码示例。(Official Microsoft GitHub Repository containing code samples for SQL Server.)

  • 所有者: microsoft/sql-server-samples
  • 平台: Microsoft Azure, Windows
  • 許可證: Other
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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.

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 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:

To see the complete list of resources in this repository, navigate to Releases

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.

Each sample should be in its own folder with a README.md file that follows the template. 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.

git clone -n https://github.com/Microsoft/sql-server-samples
cd sql-server-samples
git config core.sparsecheckout true
echo samples/features/*, out-file -append -encoding ascii .git/info/sparse-checkout
echo samples/demos/*, out-file -append -encoding ascii .git/info/sparse-checkout
git checkout

For more information about sparse checkout please visit this stackoverflow thread.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

License

These samples and templates are all licensed under the MIT license. See the license.txt file in the root.

Questions

Email questions to: sqlserversamples@microsoft.com.

主要指標

概覽
名稱與所有者microsoft/sql-server-samples
主編程語言
編程語言PowerShell (語言數: 0)
平台Microsoft Azure, Windows
許可證Other
所有者活动
創建於2016-03-11 21:42:56
推送於2025-06-26 18:51:05
最后一次提交2025-06-26 11:51:04
發布數24
最新版本名稱sql-ml-language-extensions-tutorials (發布於 )
第一版名稱wide-world-importers-v0.1 (發布於 )
用户参与
星數10.6k
關注者數768
派生數9k
提交數4k
已啟用問題?
問題數402
打開的問題數256
拉請求數883
打開的拉請求數12
關閉的拉請求數95
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?