top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Change Data Capture (CDC) in SQL Server 2008?

+2 votes
423 views
What is Change Data Capture (CDC) in SQL Server 2008?
posted Sep 10, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
 
Best answer

Change Data Capture is a new feature in SQL Server 2008 that records insert, update and delete activity in SQL Server tables. A good example of how this feature can be used is in performing periodic updates to a data warehouse. The requirement for the extract, transform, and load (ETL) process is to update the data warehouse with any data that has changed in the source systems since the last time the ETL process was run. Before CDC we might simply query a last updated DATETIME column in our source system tables to determine what rows have changed. While this is simple and pretty effective, it is of no use in determining any rows that were physically deleted. In addition we can't determine what was changed when; we can only access the current state of a row that has changed. CDC provides a configurable solution that addresses these requirements and more.

for more details go through :

http://www.codeproject.com/Articles/166250/Microsoft-SQL-Server-Change-Data-Capture-CDC

answer Sep 15, 2014 by Arun Gowda
Similar Questions
+2 votes

In a stored procedure, for the same table i want to UPDATE if exists else INSERT data.
How ca this be implemented?

+4 votes

how to check if table exist and if it doesnt exist create table in sql server 2008

+2 votes

I want to update data from one table to another table with year condition.
(OR)
To Update one table based on another table using INNER JOIN

...