Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Comparing Databases

Author  Topic 

karuna
Aged Yak Warrior

582 Posts

Posted - 2005-04-26 : 08:45:39
I have two databases, One I use for sql development the other one is used by other developers. Both have same kind of tables but different stored procs, views, triggers etc.,

Is there a way to compare both these database and update one of them with whatever missing from the other database?

Karunakaran
___________
It's better to be loved and lost, than ever to be loved...

mfemenel
Professor Frink

1421 Posts

Posted - 2005-04-26 : 09:01:48
For a while we were using Red Gate's SQL Bundle which has a decent compare/update tool. I'd suggest you look for something like that (google) and download a trial version. If this is something you'll have to deal with frequently, it might be worth the investment.

Mike
"oh, that monkey is going to pay"
Go to Top of Page

karuna
Aged Yak Warrior

582 Posts

Posted - 2005-04-26 : 10:11:08
I have already downloaded the trial version of SQL Bundle. Since I dont have an admin access to install it I'm trying to find something else which will help. The other option is wait till t'row for the sys admin.

Karunakaran
___________
It's better to be loved and lost, than ever to be loved...
Go to Top of Page

AjarnMark
SQL Slashing Gunting Master

3246 Posts

Posted - 2005-04-26 : 16:14:12
A more manually intensive way would be to script out all of the objects, run a WinDiff or other free text-file comparison of them, build a script to make the changes, and run it. But that might take longer than waiting for the Admin to arrive.

---------------------------
EmeraldCityDomains.com
Go to Top of Page

bakerjon
Posting Yak Master

145 Posts

Posted - 2005-04-27 : 14:11:24
www.red-gate.com
www.embarcadero.com

Now I know, and knowing is half the battle!
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=48013

Go to Top of Page
   

- Advertisement -