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
SPONSORED LINKS FEATURED LINKS

Drag & Drop Data Mapping ToolTry this award-winning data mapping, & transformation tool that supports multiple databases, flat files, Web services, EDI, Excel 2007, & more! Free trial for 30 days! Overcome bloated Windows file systemsCrossroads FMA delivers powerful yet inexpensive data migration Bandwidth Monitoring Tool from SolarWindsIdentify largest bandwidth users in seconds. Get the free download now. Order Your Fundamentals CD Today! Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD. KVM over IP SolutionsLearn about a KVM over IP solution that is specifically designed to meet the needs of the distributed IT environment. Shortcut Guide to SQL Server Infrastructure OptimizationWith right tools and techniques, you can have a top-performing SQL Server infrastructure without having to cram your data centers so that they're overflowing. Download this eBook to learn how. WinConnections Conference Fall 2008Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay). Become a fan of Windows IT Pro on Facebook!Join us on Facebook and be a fan of Windows IT Pro! Continuous Data Protection and Recovery for Exchange Read this white paper to learn about Continuous Data Protection (CDP), Exchange 2007's local continuous replication and cluster continuous replication features. Rev Up Your IT Know-How with Our Recharged Magazine!The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today! Tips to Managing MessagingDiscover three fundamental mail and messaging management services - security, availability and control services - and how you can implement them in a Microsoft-centric mail and messaging environment. Get It All with Windows IT Pro VIPStock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!
Windows IT Pro |  SQL |  Connected Home |  IT Library |  SuperSite |  FAQ |  WinInfo News |  Europe Edition |  Office & SharePoint Pro
Windows Dev Pro |  Windows Excavator

Subscribe / Register |  About Us |  Contact Us / Customer Service |  Affiliates / Licensing  |  Media Kit

Copyright © 2008 Penton Media, Inc., All rights reserved.  Terms and Use | Privacy Statement | Reprints and Licensing