<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Capture Instance on SQL Server Scripts</title><link>https://www.sqlserver70.com/tags/capture-instance/</link><description>Recent content in Capture Instance on SQL Server Scripts</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>SQLServer70.com</copyright><lastBuildDate>Wed, 18 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.sqlserver70.com/tags/capture-instance/index.xml" rel="self" type="application/rss+xml"/><item><title>Enable Change Data Capture with sys.sp_cdc_enable_table</title><link>https://www.sqlserver70.com/post/enable-change-data-capture-with-sys-sp-cdc-enable-table/</link><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate><guid>https://www.sqlserver70.com/post/enable-change-data-capture-with-sys-sp-cdc-enable-table/</guid><description>
&lt;p&gt;An audit trail or a warehouse feed needs every insert, update and delete on a table, without triggers on the write path. Change data capture (CDC) reads those changes from the transaction log, and &lt;code&gt;sys.sp_cdc_enable_table&lt;/code&gt; switches it on for one table. One call creates the change table and its query functions. On the first table in the database, it also creates the cleanup job, and the capture job too when the database has no transactional publications.&lt;/p&gt;</description></item></channel></rss>