This page lists the supported schema changes to the source database when using
Cloud Data Fusion [Replication](https://docs.cloud.google.com/data-fusion/docs/concepts/replication).

## Supported data definition language (DDL) statements in Replication

### MySQL


The following table lists supported DDL statements from the MySQL source
database to the BigQuery destination.

| DDL statements | Supported in Replication |
|---|---|
| Create table | Yes |
| Rename table | No |
| Truncate table | Yes |
| Drop table | Yes |
| Add nullable column | Yes |
| Add required column | No |
| Alter column to make it nullable | Yes |
| Alter column to make it required | No |
| Alter column type | No |
| Rename column | No |
| Drop column | No |

### Oracle


The following table lists supported DDL statements from the Oracle source
database to the BigQuery destination.

| DDL statements | Supported in Replication |
|---|---|
| Create table | No |
| Rename table | No |
| Truncate table | No |
| Drop table | No |
| Add nullable column | Yes |
| Add required column | No |
| Alter column to make it nullable | Yes |
| Alter column to make it required | No |
| Alter column type | No |
| Rename column | No |
| Drop column | No |

### SQL Server


Schema changes for SQL Server are not automatic and you must perform a few
steps manually. For more information, see [Change schemas in a SQL Server
replication job](https://docs.cloud.google.com/data-fusion/docs/how-to/change-schemas-in-replication).

The following table lists supported DDL statements from the Microsoft SQL
Server source database to the BigQuery destination.

| DDL statements | Supported in Replication |
|---|---|
| Create table | No |
| Rename table | No |
| Truncate table | No |
| Drop table | No |
| Add nullable column | Yes |
| Add required column | No |
| Alter column to make it nullable | Yes |
| Alter column to make it required | No |
| Alter column type | No |
| Rename column | No |
| Drop column | Yes |

## What's next

- Learn more about [Replication in Cloud Data Fusion](https://docs.cloud.google.com/data-fusion/docs/concepts/replication).
- Learn more about [SQL Server schema changes in Replication](https://docs.cloud.google.com/data-fusion/docs/how-to/change-schemas-in-replication).