Applies To: SQL Server 2014, SQL Server 2016 Preview
Returns one row for each column tracked in a capture instance. By default, all columns of the source table are captured. However, columns can be included or excluded when the source table is enabled for change data capture by specifying a column list. For more information, see sys.sp_cdc_enable_table (Transact-SQL).
We recommend that you do not query the system tables directly. Instead, execute the sys.sp_cdc_get_source_columns stored procedure.
Applies to: SQL Server (SQL Server 2008 through current version).
ID of the source table to which the captured column belongs.
Name of the captured column.
ID of the captured column within the source table.
Type of the captured column.
Column ordinal (1-based) in the change table. The metadata columns in the change table are excluded. Ordinal 1 is assigned to the first captured column.
Indicates that the captured column is a computed column in the source table.