Site sponsored by: Idera Try Idera’s new SQL admin toolset
SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Quiz
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


Article Topics

All Articles
Performance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
Developer
General DBA
ASP.NET / ADO.NET

Write for Us

Share you SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

Capture DDL Changes using Change Data Capture with SQL Server 2008 ...
Business Intelligence in Collaborative Planning, Forecasting and Replenishment
Inside SQL Server Cluster Setup and Troubleshooting Techniques - Part I ...
Configure and Manage Policy Based Management in SQL Server 2008 ...

More     
 
Latest FAQ's

Cannot Start SQL Server Service
Users are able to connect to report manager but not able ...
Errors when SQL Server Snapshot Replication is Running
How to Display Server Name or IP Address in a Reporting ...

More     
   
Latest Software Reviews

Spotlight on ApexSQL Doc 2008
ApexSQL Enforce
Embarcadero Change Manager
SQL Server DBA Dashboard

More     

articles >> performance tuning >> Schema Comparison with Visual Studio Team Edition ...

Schema Comparison with Visual Studio Team Edition for Database Professionals

By : Dinesh Priyankara
Feb 06, 2008

Most DBAs work with different environments such as production, quality assurance and development where the same database schema exists. One of the biggest issues we have been facing while maintaining the same database schema in various environments is making sure that the objects exist in the databases are the same in all environments and if not, finding the differences and applying them to the relevant environments. How you have been doing this? Did you do it manually (imagine doing it manually for databases with hundreds of objects; definitely it is a nightmare). Did you use any third-party tools? You may have. There are many tools that have superb facilities to address this issue but do you know that Microsoft has a tool that we can use to address this issue. It is called Visual Studio 2005 Team Edition for Database Professional (a.k.a. Data Dude). It was released somewhere around December 2006 and not only addresses this issue but also provides many additional facilities for us. This article speaks about a feature that has come with Data Dude which is “Schema Compare”.

This article will cover:

  • Setting up the database schema with Project Model
  • Comparing two databases schemas and examining the differences

Setting up the database schema with Project Model
Setting up a database project is required for comparing two databases schemas. Once created, the comparison can be done between the project and a database, or between totally different databases. Let's simply create a database project for "AdventureWorks" database by follow the steps below:

  • Open "Business Intelligence Development Studio" and create a new project. Select the project type as "Database Projects -> Microsoft SQL Server". Select the template as "SQL Server 2005 Wizard".
  • Name the project as "AdventureWorksSchema" and set a location for the project.

    Click "OK" to continue.

    • The "New Database Project Wizard" opens. Click on "Next" in the "Welcome" screen.
    • "Project Properties" screen opens.  Type "Sales" in the given input box and leave other settings default.

     

    Click on "Next".

    • Accept the default settings in the "Set Database Options" and click on "Next" to continue.
    • "Import Database Schema" screen opens. Check "Import exiting schema" and set the "Source database connection" to the "AdventureWorks" database.

     

    Click on "Next" to continue.


        Next Page>>    








    Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | QDPMA Performance Tuning | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


                  © 1999-2008 by T10 Media. All rights reserved