Enable SQL Server CDC

Enable Change Data Capture on SQL Server databases and tables.

2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/datasurface/demo1 --skill enable-sql-server-cdc-datasurface
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Enable SQL Server CDC
Source: https://github.com/datasurface/demo1/tree/main/.claude/skills/enable-sqlserver-cdc
Command: npx skills add https://github.com/datasurface/demo1 --skill enable-sql-server-cdc-datasurface

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CDC on SQL Server databases and tables captures data changes for downstream ingestion, enabling real-time analytics and reliable data pipelines without manual polling.

Core Features & Use Cases

  • Enable database-level CDC and verify status across environments (Linux, Windows, Docker).
  • Enable CDC on selected tables and monitor capture jobs and change tables for reliable data ingestion.
  • Use cases include real-time auditing, data synchronization, and event-driven analytics across data pipelines.

Quick Start

Use the skill to enable CDC on a target database and tables, then verify via the included SQL commands in Step 7.

Frequently Asked Questions about Enable SQL Server CDC

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable Change Data Capture on a SQL Server database and its tables?

To enable Change Data Capture on a SQL Server database, you must enable CDC at the database level and then enable it for individual tables to capture data changes for downstream ingestion.

Do I need sysadmin permissions to enable CDC on SQL Server?

Yes, enabling CDC on SQL Server requires appropriate permissions, specifically sa or sysadmin access, along with sqlcmd or equivalent SQL client access and network connectivity to the host.

Can I enable SQL Server CDC across Linux, Windows, and Docker deployments?

Yes, you can enable SQL Server CDC across Linux, Windows, and Docker deployments, allowing you to verify agent status, capture jobs, and change tables consistently across different operating environments.

How do I verify if CDC capture jobs and change tables are working in SQL Server?

You can verify CDC capture jobs and change tables in SQL Server by running status checks and included SQL commands to ensure the agent is active and data changes are being captured correctly.

What is the best way to use SQL Server CDC for real-time data pipelines?

The best way to use SQL Server CDC for real-time data pipelines is to enable database and table-level capture, which records data changes for reliable downstream ingestion without manual polling.

Why does SQL Server CDC require verifying the SQL Server Agent?

SQL Server CDC requires verifying the SQL Server Agent because the agent manages the capture jobs that scan the transaction log to record data changes into the change tables for downstream ingestion.