sql-server-samples README

The project's README from github.com/microsoft/sql-server-samples. As one markdown file: README.md.

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

To see the complete list of resources in this repository, navigate to Releases (this now includes an entity diagram of Northwind database) to help visual learners.

Working in GitHub

To contribute on GitHub, follow these steps:

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 [email protected] 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: [email protected].

sql-server-samples (microsoft/sql-server-samples)

Searching Database…

Что это?Это официальный репозиторий Microsoft с примерами кода, которые показывают, как использовать SQL Server, Azure SQL Database, Azure Synapse и Azure SQL Edge. Здесь есть примеры баз данных, демонстрации и пошаговые разборы возможностей.
Это один пример проекта или коллекция из множества примеров?Это коллекция: каждый пример лежит в своей папке со своим README, где объясняется, как его запустить. Среди них примеры баз данных, демонстрации производительности и сценарии IoT.
Как запустить примеры?Откройте страницу Releases репозитория и скачайте готовые примеры баз данных и приложений (например, Wide World Importers или AdventureWorks), вместо того чтобы собирать их из исходного кода. Затем следуйте инструкциям в README внутри папки каждого примера.
Нужна ли конкретная редакция SQL Server для всех примеров?Некоторые примеры опираются на возможности, доступные только в определённых редакциях, например In-Memory OLTP. Такие примеры работают только на той редакции SQL Server, которая поддерживает эту функцию.
Можно ли скачать только один пример, а не весь репозиторий?Да, можно использовать git sparse checkout, чтобы загрузить только нужные папки (например, только папки features и demos), а не весь репозиторий целиком.
Кому этот репозиторий в первую очередь полезен?Разработчикам и администраторам баз данных (DBA), которые изучают или оценивают возможности SQL Server, Azure SQL, Azure Synapse или Azure SQL Edge. Они получают практические примеры, которые можно запустить, а не только документацию.
Что такое Wide World Importers?Это основной пример базы данных для SQL Server 2016 и Azure SQL Database. Она включает и OLTP-, и OLAP-базу данных.
Для чего здесь используется AdventureWorks?Это пример базы данных, который поставляется в вариантах OLTP, хранилища данных и облегчённой базы для обучения и тестирования.
Есть ли в репозитории сценарии IoT?Да, пример IoT Smart Grid показывает, как SQL Server может принимать данные от IoT-устройств и датчиков и проводить на их основе аналитику.
Creator
microsoft
Size
496 MB
Stars
11.3K
Age
10y
Commits · 90 Days