SQL Flow Field Guide

sys.sp_cdc_get_captured_columns

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

Returns change data capture metadata information for the captured source columns tracked by the specified capture instance.

What changes

Input
Returns change data capture metadata information for the captured source columns tracked by the specified capture instance.
Output or change
No write is stated in the Microsoft summary.

Syntax at a glance

sys.sp_cdc_get_captured_columns [ @capture_instance = ] N'capture_instance'
[ ; ]

Work example

Returns change data capture metadata information for the captured source columns tracked by the specified capture instance.

In a disposable database, use it only with an object you created. Record the result columns and what each one means.

Check your work What result does it return, and which argument narrows that result?

Open Microsoft Learn for full syntax, permissions, and details for your version.