A very important feature of SQL Server 2008 is that we can enable CDC [Change Data capture] on database or table.

We can track the database had CDC enabled by querying IS_CDC_ENABLED column

clip_image001

In above query School is name of the database.

If we want to track tables in database whether CDC enabled or not then

clip_image002

Above query will list name of all tables in School database CDC enabled.

Advertisements

One thought on “Tracking Change Data Capture in SQL Server 2008

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s