# Configure Microsoft SQL Server on TurboStack

Enable SQL Server on the host that runs your .NET application and pin the version and edition.

![The Microsoft SQL Server panel on a host's Services tab, enabled, showing the version and edition fields|1000](../../assets/screenshots/technologies/mssql.png)

## Where to configure it

Microsoft SQL Server is a host-level service. Open the host, go to its **Services** tab, and find
the **Microsoft SQL Server** entry. Enable the service there and select the version and edition.
The change is written to the host's YAML and applied on the next deployment.

> [!TIP]
> Enable SQL Server on hosts running .NET applications such as
> [nopCommerce](../../applications/nopcommerce/deploy.md) that need it.

## YAML configuration

### Required

| Key | Meaning |
|---|---|
| `mssql_version` | The Microsoft SQL Server version to run on the host, for example `"2022"`. |
| `mssql_edition` | The Microsoft SQL Server edition: `Developer`, `Enterprise`, `Express` or `Standard`. Defaults to `Express`. |

```yaml
mssql_version: "2022"
mssql_edition: "Express"   # Developer, Enterprise, Express or Standard
```

> [!WARNING]
> The version and edition affect features, resource limits, and licensing. Choose them deliberately
> and keep them consistent across your environments.

## Related

- [What is Microsoft SQL Server?](what-is.md)
- [Host Services](../../platform/hosts/services.md)
- [Deploy nopCommerce](../../applications/nopcommerce/deploy.md)
