# microsoft/sql-server-samples

Azure Data SQL Samples - Official Microsoft GitHub Repository containing code samples for SQL Server, Azure SQL, Azure Synapse, and Azure SQL Edge

Repository: https://github.com/microsoft/sql-server-samples
Canonical: https://ross.abutalabs.com/products/sql-server-samples
License: NOASSERTION
License Family: other
Last push: 2026-07-16T17:42:29+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 8, longevity 100
- inputs: {"age_days": 3827, "days_push": 48, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11201, forks 9092 (observed 2026-08-28T04:10:46.402597+00:00)

## What it is
Microsoft's official repository of code samples and sample databases for SQL Server, Azure SQL Database, Azure Synapse, and Azure SQL Edge. It includes downloadable sample databases like AdventureWorks and Wide World Importers plus feature demos with README instructions.

## Use cases
- download the AdventureWorks sample database for testing
- learn SQL Server features through working code samples
- get sample data for practicing SQL queries
- demo In-Memory OLTP performance
- find Azure SQL Database examples
- set up sample OLTP and OLAP databases for training

## When to choose
- you need realistic sample databases for SQL Server or Azure SQL
- you are learning or teaching Microsoft data platform features
- you need demo data for testing tools against SQL Server

## When to avoid
- you use non-Microsoft databases like PostgreSQL or MySQL
- you need production-ready code rather than samples
- you need comprehensive documentation rather than examples

## Facets
- artifact type: dataset
- maturity: active
- function: database, developer-tools, documentation
- domain: databases, developer-tools, tutorials, cloud-computing
- platform: windows, cloud
- tags: sql-server, azure-sql, sample-databases, adventureworks, wide-world-importers, azure-synapse, microsoft, linux, docker

## Member repositories
- microsoft/sql-server-samples (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.402597+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:27.931658+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/sql-server-samples (fetched 2026-08-28T04:10:46.402597+00:00, sha 92aee9ab9604)
- Data as of 2026-08-30T08:39:29.467469+00:00.
