To replicate changes from a self-managed or cloud-hosted SQL Server database to
a [supported destination](https://docs.cloud.google.com/datastream/docs/destinations) such as
BigQuery or Cloud Storage, you can configure your database as a
Datastream source. Your SQL Server deployment type and selected change
data capture (CDC) method determine how you enable CDC, grant user privileges,
and configure log retention.

## Supported databases

Datastream works with the following types of SQL Server databases:

- Self-managed SQL Server (on-premise or cloud-hosted)
- Amazon RDS for SQL Server
- Cloud SQL for SQL Server
- Azure SQL Database tier S3 and later (only supported when using the change tables CDC method)

## What's next

- Learn how to configure a [self-managed SQL Server](https://docs.cloud.google.com/datastream/docs/configure-self-managed-sqlserver) database to work with Datastream.
- Learn how to configure an [Amazon RDS for SQL Server](https://docs.cloud.google.com/datastream/docs/configure-amazon-rds-sqlserver) database to work with Datastream.
- Learn how to configure a [Cloud SQL for SQL Server](https://docs.cloud.google.com/datastream/docs/configure-cloudsql-sqlserver) database to work with Datastream.
- Learn how to configure an [Azure SQL Database](https://docs.cloud.google.com/datastream/docs/configure-azure-sqlserver) database to work with Datastream.