Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,21 @@ EXEC xp_servicecontrol N'START',N'SQLServerAGENT';
GO
```

## 5. Using SQL Server with custom data fields

When using custom data types, you must ensure that the Debezium user has the necessary permissions to access
those types. You can grant these permissions using the following SQL commands:

```sql
USE <db-name>;

GRANT REFERENCES ON TYPE::<schema>.<type-name> TO <db-user>;
```

If you don't grant these permissions you may encounter errors like:
`"The column "Account" is referenced as PRIMARY KEY, but a matching column is not defined in table "DB.dbo.MyTable"!"`


## SQL Server capture job agent configuration parameters

In SQL Server, the parameters that control the behavior of the capture job agent
Expand Down Expand Up @@ -781,4 +796,4 @@ documentation for further details.
{{< note >}}RDI will *not* correctly capture changes that happen in the time gap between changing
the source schema (step 1 above) and updating the value of `@capture_instance` (step 2).
Try to keep the gap as short as possible or perform the update at a time when you expect
few changes to the data.{{< /note >}}
few changes to the data.{{< /note >}}
Loading