Compare system table
eamaynard
Posts: 3
I would like to be able to compare the contents of system tables. I realize this can be risky, but it would be extremely helpful for migrating statistics from one database to another, or even just to compare statistics between existing databases.
Is it possible to compare system tables? Is this planned for a future release?
Is it possible to compare system tables? Is this planned for a future release?
Comments
SQL Data Compare will automatically ignore the data in system tables, and there is no way to allow it to do so. We could consider implementing this, but I think it would cause some catastrophic problems if the system table data was synchronized 'accidentally'!
How will I know if this is a feature slated for a future release? Is there a public wish-list that users of this forum can review to see what's planned?
I'm sorry that I can't be any more specific at this stage.
David Atkinson
Product Manager
Red Gate Software
Product Manager
Redgate Software
Just a sugestion. Why not replicate the system tables into a temporary table, then you an compare them as normal tables. Crystal reports is able to look at system tables and export to a csv file. I used it to autogenerate a Data Dictionary. A little clunky I know but 4 steps to get a solution is better than no steps not to get any solution.
Create views on the system tables, and then include compare views feature.
You should always be very careful on doing this, and sometimes it can still be a big pain, because SQL uses INT fields with IDENTITY set, and you cannot easily insert new records.
I personally always use GUID's in all my databases, and I have no problem with synchronizations.