0% found this document useful (0 votes)
28 views39 pages

My CDC 2007

This document discusses change data capture (CDC) in SQL Server. It explains what CDC is and how it can be enabled on a database and tables using stored procedures. It provides examples of CDC operations like insert, update, and delete. It also describes how CDC can identify changes made to a database and be used to reduce investigation time in certain applications. The document concludes with a question and answer section on CDC.

Uploaded by

manju_anjali19
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views39 pages

My CDC 2007

This document discusses change data capture (CDC) in SQL Server. It explains what CDC is and how it can be enabled on a database and tables using stored procedures. It provides examples of CDC operations like insert, update, and delete. It also describes how CDC can identify changes made to a database and be used to reduce investigation time in certain applications. The document concludes with a question and answer section on CDC.

Uploaded by

manju_anjali19
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 39

By P.

Selva Kumar

USE AdventureWorks GO INSERT INTO [HumanResources].[Shift] ([Name],[StartTime],[EndTime],[ModifiedDate]) VALUES ('Tracked Shift',GETDATE(), GETDATE(), GETDATE()) Go

USE AdventureWorks GO UPDATE [HumanResources].[Shift] SET Name = 'New Name', ModifiedDate = GETDATE() WHERE ShiftID = 4 GO

Summary

Introduction to Change Data Capture Enabling Change Data Capture on a Database & Tables

what is cdc ? how it is used ? On DMLEXEC Operations Such as :sys.sp_cdc_enabled_db Insert , update , Delete Operations EXEC sys.sp_cdc_enable_table On DML Operations Such as :sys.sp_cdc_cleanup_change_table Insert , update , Delete Operations

Example of Change Data Capture

Automatic Clean Up Process

sys.sp_cdc_cleanup_change_table

What CDC can do in CID Application

CDC is a versatile tool which is used to identify the changes made in the Database ,Reduce Time for Investigation.

Question & Answer

You might also like