Static Data - Synced by SQL Compare or Data Compare?
catfood49
Posts: 18
Newbie Question on Static Data
This may sound like a very obvious quesion but I thought I knew the answer and now I am not so confident!
I have set-up a number of tables as Static Data within SSC. Commiting changes finds these and commits them. All Good.
When use SQL Compare to release my changes to my live database, is it SQL Compare that will update my live server with this new static data, whilst also making any database changes, or do I also have to use Data Compare to sync the new static data to live?
I was under the impression static data was handled by SQL Compare but as I am using SQL Compare this does not appear to be the case.
Could someone please confirm what I'm thinking. And if I do need to use Data Compare to release my static data changes to live, is there any way when using comparing two databases, to only look for changes to static data?
This may sound like a very obvious quesion but I thought I knew the answer and now I am not so confident!
I have set-up a number of tables as Static Data within SSC. Commiting changes finds these and commits them. All Good.
When use SQL Compare to release my changes to my live database, is it SQL Compare that will update my live server with this new static data, whilst also making any database changes, or do I also have to use Data Compare to sync the new static data to live?
I was under the impression static data was handled by SQL Compare but as I am using SQL Compare this does not appear to be the case.
Could someone please confirm what I'm thinking. And if I do need to use Data Compare to release my static data changes to live, is there any way when using comparing two databases, to only look for changes to static data?
Comments
SQL Compare will only compare and synchronize schema differences (think new tables, changes to stored procedures etc).
Any data records you want to sync between databases will require the use of SQL Data Compare. SQL Compare doesn't perform any operations on the actual data at all.
Hope that helps!
Redgate Software
In that case, is there any way to configure SQL Data Compare to be able to only check for changes in static data?
- existing only in the source
- existing only in the target
- existing in both, but differing.
You can choose which ones you want to sync. There's a good Getting Started guide here
Redgate Software
Running a Data Compare between our development database and live server takes approximately 30 minutes when we are only actually interested in changes between tables we have flagged as static. If it was possible to only compare these static tables (approximately 15-20 tables), the compare would be much quicker.
Redgate Software