| Author |
Message |
kiteason
Joined: 20 Jul 2011 Posts: 3
|
Posted: Wed Jul 20, 2011 9:45 am Post subject: Newbie question: developer database setup |
|
|
We're evaluating Redgate Tool belt with a view to integrating it with our TFS version control system.
We expect developers to work with local SQL databases, using SQL Compare to compare against a central repository in TFS and check in their changes.
We've succeeded in creating the set of scripts for the initial database schema and this is checked into TFS. My question is - how does a developer do their initial setup to create a local database whose schema is the same (initially) as the central repository scripts?
I can link a local database to source control, but then SQL Compare seems to think that it needs to delete all the tables etc. from the repository, rather than create them in the local database. It doesn't seem to be possible to do a 'Set as target' on a blank database then pick a source control repository as source. What am I missing? |
|
| Back to top |
|
 |
kiteason
Joined: 20 Jul 2011 Posts: 3
|
Posted: Wed Jul 20, 2011 9:59 am Post subject: |
|
|
| Looks like the way to do this is to run SQL Compare stand alone, rather than trying to do this from SSMS. Then you can pick the scripts as the source and a blank database as the target. |
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group