When you use the sys.sp_cdc_enable_table stored procedure to enable Change Data Capture (CDC) on a column set table in Microsoft SQL Server 2017 or 2016, the following assertion error is logged in the error log:
Expression: m_REColId == m_imedIndexColumn->GetColumnId()
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Cumulative update information
This problem is fixed in the following cumulative update for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Service pack information for SQL Server 2016
This problem is fixed in the following service pack for SQL Server:
Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. We recommend that you apply the latest service pack and the latest cumulative update for that service pack. You do not have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article to find more information about the latest service pack and latest cumulative update.
Learn about the terminology that Microsoft uses to describe software updates.