Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 2.44 KB

change-data-capture-tables-transact-sql.md

File metadata and controls

44 lines (33 loc) · 2.44 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic dev_langs
Change Data Capture Tables (Transact-SQL)
Change Data Capture Tables (Transact-SQL)
VanMSFT
vanto
02/22/2023
sql
system-objects
reference
TSQL

Change Data Capture Tables (Transact-SQL)

[!INCLUDE SQL Server]

Change data capture enables change tracking on tables so that data manipulation language (DML) and data definition language (DDL) changes made to the tables can be incrementally loaded into a data warehouse. The articles in this section describe the system tables that store information used by change data capture operations.

In This Section

cdc.<capture_instance>_CT
Returns one row for each change made to a captured column in the associated source table.

cdc.captured_columns
Returns one row for each column tracked in a capture instance.

cdc.change_tables
Returns one row for each change table in the database.

cdc.ddl_history
Returns one row for each data definition language (DDL) change made to tables that are enabled for change data capture.

cdc.lsn_time_mapping
Returns one row for each transaction having rows in a change table. This table is used to map between log sequence number (LSN) commit values and the time the transaction committed.

cdc.index_columns
Returns one row for each index column associated with a change table.

dbo.cdc_jobs (Transact-SQL)
Returns the configuration parameters for change data capture agent jobs.

See Also

Change Data Capture Stored Procedures (Transact-SQL)
Change Data Capture Functions (Transact-SQL)