WinInfo Daily News   |   Windows IT Pro
in
Microsoft Technet

IT Pro Tips


SQL Server 2008: Change Data Capture

By Ronald Barrett

The dynamic nature of databases, and in particular data warehouses, calls for a method of updating, inserting and deleting activity in a SQL server table. But change data capture is not only about the physical change of the database, it is about the ability to report on and track these changes. Change Data Capture is part of a suite of tools used in SQL Server 2008 to accomplish that goal.

The Microsoft SQL Server TechNet Virtual Lab: Change Data Capture (CDC) takes the user through the process of simulating an Integration Services package. The lab manual explains the scenario of the CDC exercise and lets you know before you begin what each element is accomplishing during the lab.

The virtual lab begins by launching the Change Data Capture file via Windows explorer. The files resides in C:\SQL Server 2008 Demo Files\Intelligent Platform\Change Data Capture\CDCSample2.sln

TIP: Although this tool is used to track changes in SQL Server, this exercise takes place with Microsoft Visual Studio.  It is important to make sure you completely read the scenario to understand what is happening in the exercise. 

 

 

Once you double click the file, Microsoft Visual Studio opens up in the solutions explorer. You want to be sure to choose "SetupCDCSample.dtsx".

Once you choose the debug file, the system will being the debug process. It takes about 30- 40 seconds for the first Data Viewer to appear.

Finally you click the detach button and the process will run through some changes. When the next data viewer appears, you can see the changes made to the Customer ID 696.

Overall this was a quick and interesting lab. Although it took only 30 minutes (between reading the manual and running the tests twice), the Change Data Capture lab certainly gave a good illustration of what a live scenario could look like and effectively showed how the CDC process works. I particularly enjoyed working within Visual Studio on this lab, which I don’t get to do very often. Bottom-line, this is a great way to start learning about Change Data Capture.

Comments

No Comments
Acceptable Use Policy

SPONSORED LINKS FEATURED LINKS

Calculate your savings nowSee how SAN is 57% cheaper than DAS over three years Free CDs Offer Fundamental Content for IT ProsAre you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content. Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts. Exchange Server 2010: Deploying Unified Communications - Virtual conferenceDecember 1, 2009 - Free Registration. Build your Unified Communications future on a strong Exchange Server 2010 foundation. Get Windows IT Pro & Mark Minasi’s Favorite Power Tools GuideOrder Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price! Migration, Virtualization, Availability, and Desktop ManagementRealize the importance of a workload optimization strategy...it can affect your bottom line! Deep Dive into VMware vSphere, eLearning SeriesJoin John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.
Windows IT Pro |  Subscribe |  Register |  FAQ for Windows |  Media Kit |  WinInfo News |  Europe Edition |  About Us |  Contact Us/Customer Service |  Affiliates/Licensing
SQL Server Magazine |  Office & SharePoint Pro |  WinDevPro |  asp.netPRO |  IT Library |  Technology Resource Directory |  ITTV |  IT Job Hound

© 2009 Penton Media, Inc.     Terms of Use | Privacy Statement | Reprints and Licensing