Using TFS files in comparison
asentell
Posts: 42
We are implementing Team Foundation Server for database source control and will be using SQL Compare to produce database comparison reports since TFS does not have this functionality.
Question #1:
I seem to be able to use the database scripts generated by TFS to compare against my target database. Are there any caveats or gotchas I should be aware of in doing this?
Question #2:
TFS creates a dbschema file that functions much the same as SQL Compare's database snapshot file. Is there any way I can use this as my source when comparing to a target?
Thanks,
Aaron
Question #1:
I seem to be able to use the database scripts generated by TFS to compare against my target database. Are there any caveats or gotchas I should be aware of in doing this?
Question #2:
TFS creates a dbschema file that functions much the same as SQL Compare's database snapshot file. Is there any way I can use this as my source when comparing to a target?
Thanks,
Aaron
Comments
Yes, there are caveats. Although SQL Compare works in many cases when using it against a VS database project, it isn't a supported scenario, although we have future plans in this area. It will be more successful if you are just reading the scripts into SQL Compare, but I would recommend against trying to synchronize back to your project from SQL Compare.
2.
If we choose to support the database project, it's something we would look at.
SQL Compare fully supports Red Gate's SQL Source Control, so using this instead would be our recommendation.
Kind regards,
David Atkinson
Product Manager
Red Gate Software
Product Manager
Redgate Software
Where would I officially submit a request to allow SQL Compare to utilize TFS's dbschema file in comparison scenarios?
I just completed the SQL Source Control (SSC) demo, and it looks pretty nice. Does SSC assume that each person has their own dedicated development database?
Aaron
SQL Source Control can be used in a shared or dedicated development environment. There are clearly benefits if you have your own sandbox, but there are also justifications why a shared environment might make sense. Which would you want to use and why?
David Atkinson
Red Gate Software
Product Manager
Redgate Software
Is it then a requirement for you to develop on an environment that has all the data? Or can it just be a small amount of test data?
How are you currently using TFS? This uses an offline model that requires you to deploy to a database. Are you deploying to a shared database that has the large amount of data?
We have a product called SQL Virtual Restore that might be able to help you. This lets you compress a backup of your database, and create mount points, one for each developer, allowing each developer their own development space, but not requiring duplicate storage requirements.
David
Product Manager
Redgate Software