Skip to content

Commit 18c4732

Browse files
improve SQL Server Delta Source plugin document (#186)
Improve SQL Server Delta Source plugin document
1 parent 482b3f2 commit 18c4732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sqlserver-delta-plugins/docs/sqlserver-cdcSource.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ Note that CDC cannot be enabled for master database.
2525
#### Enable CDC On Table
2626
Enable CDC for the table 'MyTable' will look similar like this:
2727
```
28-
-- =========
29-
-- If there is no 'role_name', you can set it as NULL.
30-
-- =========
3128
USE MyDB
3229
GO
3330
@@ -39,6 +36,9 @@ EXEC sys.sp_cdc_enable_table
3936
@supports_net_changes = 0
4037
GO
4138
```
39+
For more information about enabling CDC for a SQL Server Table, see [SQL Server Documentation](https://docs.microsoft.com/en-us/sql/relational-databases/track-changes/enable-and-disable-change-data-capture-sql-server?view=sql-server-ver15#enable-for-a-table).
40+
Note: The `User` specified in the replication job must have `MyRole` set in SQL Server.
41+
Any user can be specified in the replication job if `MyRole` is replaced with `NULL` in above command.
4242

4343
#### Verify Table CDC Accessibility
4444
Run following query to make sure your table has CDC assess.

0 commit comments

Comments
 (0)