Question about CDC and pre-loading existing audit data when upgrading from SQL 2005 to SQL 2008

  • We currently capture change data via a trigger on each table that captures the Inserted and Deleted records as XML and then posts a Broker Message that ultimately puts the data in a table identifying the table that was changed and capturing the before and after images as xml columns.

    We are going to upgrade this system to SQL 2008, and the developers would like to use the CDC feature of 2008 to make querying the audit data a bit simpler. Does anyone know if there is anyway to take the current audit data and load it into the CDC tables that are created when you set up a table to be audited?

    Thanks,

    Jeff Bradley, SQL DBA, SC Dept. Social Services

  • What error message do you get if you try to manually add a row to the CDC tracking tables? Are you providing values for the CDC hidden system columns?

    --Chris Skorlinski

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply