SQL Flow Field Guide

sys.sp_cdc_change_job

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

Modifies the configuration of a change data capture cleanup or capture job in the current database.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Not stated in the Microsoft summary.

Syntax at a glance

sys.sp_cdc_change_job
    [ [ @job_type = ] N'job_type' ]
    [ , [ @maxtrans = ] maxtrans ]
    [ , [ @maxscans = ] maxscans ]
    [ , [ @continuous = ] continuous ]
    [ , [ @pollinginterval = ] pollinginterval ]
    [ , [ @retention = ] retention ]
    [ , [ @threshold = ] threshold ]
[ ; ]

Work example

Modifies the configuration of a change data capture cleanup or capture job in the current database.

Read the syntax and examples. Explain each argument and its effect before writing a call.

Check your work Which inputs are required, and what result or effect does the page document?

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