Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Comparing databases

Posted on 1998-08-06
2
Medium Priority
?
183 Views
Last Modified: 2010-03-19
Is there a quick and easy way to compare MS SQL Server databases? ie., structure NOT data.
0
Comment
Question by:bringuet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
mitek earned 60 total points
ID: 1089437
Yeah. One way would be to go to Object=>Generate SQL Scripts in SQL Enterprise Manager, Click "All Objects" (or, whatever types of objects need to be compared, like, tables only, etc.) and generate one script file for each database.

Then, use something like WINDIFF utility to compare them. The only problem here would be comments to each object -- they will generate a lot of unnecessary differences.

of course, there may be lots of other ways to do the same thing ...

0
 

Author Comment

by:bringuet
ID: 1089438
Pretty much what I expected without resorting to 3rd party utils like dbdiff. A little bit time consuming but do-able.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question