Server has 100 Databases...

A SQL Server Management Studio add-in to source control your database in Subversion or Team Foundation Server.

Moderators: Chris Auckland, David Atkinson, sherr, PhilScrace

Server has 100 Databases...

Postby LehighDBA » Mon Nov 14, 2011 5:52 pm

How can I link them all w/o going through each one individually? Any way to automate?

Thanks in advance.
LehighDBA
 
Posts: 17
Joined: Wed Jul 19, 2006 6:53 pm
Location: Allentown, PA, USA

Postby james.billings » Mon Nov 14, 2011 8:21 pm

Unfortunately there's no way to automate this. As each DB would need to link to it's own folder within your repository, there's no way for SQL Source Control to know where or what these would be.

Is it important that you link *all* of the databases from the outset?

In any case, this is something that's been asked for previously. We are already looking into ways of improving the initial configuration so I'd ask you to vote for the feature request here and add any comments you may have.

Thanks!
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby LehighDBA » Mon Nov 14, 2011 9:49 pm

I'd like to follow a hierarchy of Server.Database. But yes, setting it up in a better manner, i.e. by starting w/ Right-Clicking on the Server and Adding to Source control would be ideal.

I have to get them all in there. So an automated way would be best.

I could pre-create all the folders in TFS so the hierarchy method would work... and could automate the creation / recreation of the XML... but that doesn't help creating the workspaces in TFS or getting the original / current versions of the objects into the repository to start with.

I take it that this initial configuration improvement stuff did not make the v3 early release that is available?

I will go do some voting...
LehighDBA
 
Posts: 17
Joined: Wed Jul 19, 2006 6:53 pm
Location: Allentown, PA, USA

Postby james.billings » Mon Nov 14, 2011 9:52 pm

Hi - yeah, I don't think the current EAP has anything to help out on this side of things unfortunately. Adding your votes will help get it looked into though!
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to SQL Source Control 2

Who is online

Users browsing this forum: No registered users and 0 guests