Skip to content

Commit 1e72da3

Browse files
author
Carlos Robles
committed
Updating known issues with error 2628.
1 parent 8cf3837 commit 1e72da3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎docs/relational-databases/track-changes/about-change-data-capture-sql-server.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,12 @@ For CDC enabled SQL databases, when you use SqlPackage, SSDT, or other SQL tools
280280

281281
Even if CDC isn't enabled and you've defined a custom schema or user named `cdc` in your database that will also be excluded in Import/Export and Extract/Deploy operations to import/setup a new database.
282282

283+
### DDL changes to source tables
284+
285+
Changing the size of columns of a CDC-enabled table using DDL statements can cause issues with the subsequent CDC capture process, resulting in **error 2628**. Remember that data in CDC change tables are retained based on user-configured settings. So, before making any changes to column size, you must assess whether the alteration is compatible with the existing data in CDC change tables.
286+
287+
If the `sys.dm_cdc_errors` indicate that scans are failing due to the **error 2628** for change tables, you should first consume the change data in the affected change tables. After that, you need to disable and then reenable CDC on the table to resolve the problem effectively.
288+
283289
## Troubleshooting
284290

285291
The following table provides a list of potential solutions for resolving CDC-related problems.

0 commit comments

Comments
 (0)