|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, June 07, 2013 12:33 PM
Points: 675,
Visits: 428
|
|
CDCUserName should be in each cdc table. This is the sql/windows login used at the time of the change.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 10, 2009 9:11 AM
Points: 2,
Visits: 2
|
|
| There's also a video on the SQL Server "How Do I?" Videos page called Provide an Up-to-Date Data Warehouse with Change Data Capture and hosted by Scott Golightly. After showing how to configure Change Data Capture on a database, Scott shows a sample SSIS package that extracts the changed data from the database. These tutorials are a favorite of mine - short and to the point.
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, February 13, 2012 8:30 AM
Points: 207,
Visits: 192
|
|
Thanks for the link to the videos.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Today @ 8:35 AM
Points: 13,
Visits: 229
|
|
Thanks for the article. We plan to ETL the CDC data on a nightly basis. Nevertheless, I'm put off by the fact that we can't add columns to tables without disabling/re-enabling CDC. Disabling of course drops the cdc_ table, so goodbye data.
It would be nice if CDC could pick up the new column. DDL changes like this can now be propagated to replication subscribers; it would be nice if CDC could as well.
And what is up with not being able to reindex a CDC-enabled table?
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 4:39 PM
Points: 495,
Visits: 1,744
|
|
And what is up with not being able to reindex a CDC-enabled table?
I'm a bit puzzled by this. I have CDC enabled tables and I can both rebuild and reorganise the indexes on them. I guess it depends how you perform reindexing. CDC does not let you drop the existing PK as it is used for CDC. If your reindexing scripts go through and actually drop and recreate indexes then this will not work with CDC enabled tables (same applies for transactional replication for that matter), but that is no longer a recommended method to rebuild indexes. However if you use "alter index rebuild/reorganize" functionality this works without an issue with CDC enabled. Maybe I'm missing something though.
Cheers Roddy
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Today @ 8:35 AM
Points: 13,
Visits: 229
|
|
However if you use "alter index rebuild/reorganize" functionality this works without an issue with CDC enabled.
You are correct sir!! I was using old syntax. Thanks!
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, June 04, 2012 8:18 AM
Points: 155,
Visits: 123
|
|
We have two tables with triggers already on them. Each table has three triggers, two of which are "Instead of" triggers. Can we still do CDC on these tables?
Joe
|
|
|
|