link db when db is named differently

Early Access Program for SQL Source Control

Moderators: Chris Auckland, David Atkinson, sherr

link db when db is named differently

Postby brassj » Wed Feb 10, 2010 1:27 am

I've added one database, but when I tried to link a second database to the same repository, it wouldn't allow me to. I'm assuming it's because it's under a different name. Is this true?

fyi: the databases are about 98% identical.
brassj
 
Posts: 4
Joined: Tue Feb 09, 2010 10:29 pm

link db when db is named differently is definitely ok

Postby sherr » Wed Feb 10, 2010 11:19 am

What is the exact error message that you got? You should be able to link mulitple dbs to the same repository. This is how team members would share changes with each other if they are all developing against their own dedicated db.

On the setup tab, you should use the "Create link..." when linking the first db.

When linking the second db, use the "Link to a db already in source control..." link.

The 2 links are seperate. In the first case, the repository should be empty. In the 2nd case, you need to specifiy a repository folder that contains a RedGate.ssc file. This will set up the links correctly.

If the dbs are 98% identical, we'll try to figure out which version you're at and only show the differences. There are a few known issues around this currently, e.g., if you have an object that is the same, but it's dependency is not, which we're currently working on.
sherr
 
Posts: 126
Joined: Thu Mar 19, 2009 12:45 pm
Location: Cambridge

Postby brassj » Wed Feb 10, 2010 10:25 pm

:shock:
There's two links?

:oops:
Well, so there is.


Anyway, the second link wasn't visible when I was trying to link the second db and I wasn't familiar enough with the interface to recognize the missing second link. I e-mailed some screenshots to Stephanie so show how it looks with SSMS sized at about half my screen and stretched out large enough to see the second link. Now I can get on with my testing.
brassj
 
Posts: 4
Joined: Tue Feb 09, 2010 10:29 pm

2 links on setup tab

Postby sherr » Thu Feb 11, 2010 12:45 pm

Screenshots were very helpful. Thank you. Our internal reference number is SOC-672. We want to make sure that you can see both links at all times regardless of your screen resolution or if you shrink SSMS.
sherr
 
Posts: 126
Joined: Thu Mar 19, 2009 12:45 pm
Location: Cambridge


Return to SQL Source Control EAP

Who is online

Users browsing this forum: No registered users and 0 guests