SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Training
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds Follow SQL Server Performance on Twitter


Article Topics

All Articles
Performance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
SQL Azure
Developer
General DBA
PowerShell
Windows Server
ASP.NET / ADO.NET
SQL Azure

USEFUL SITES :

ASP.NET Tutorials
Windows and SQL Azure Tutorials
Cloud Hosting Magazine
SharePoint Tutorials
Windows Server Help

Write for Us

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

Create a Performance Baseline Repository
Visual Studio LightSwitch Tutorial
Manage Database Projects With Visual Studio 2010
Auditing with Microsoft Assessment and Planning (MAP) Toolkit 5.0 - ...

More     
 
Latest FAQ's

SQL Agent job getting suspended.
Queries which include DMFs return a syntax error ...
Could not find stored procedure 'dbo.sp_MSins_dboTest'
How to change server name when replication is enabled.

More     
   
Latest Software Reviews

Confio Ignite PI 8 E studio De Un Caso
dbForge Review
Spotlight on ApexSQL Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Data Diff - Server-based database comparison tool ...

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.

    Ask A Question In the Forums

        Next Page>>    












    C# Help and Tutorials | PHP MySQL Tutorial | Sharepoint Tutorial | Azure Tutorial | Cloud Hosting Magazine | ASP.NET Tutorials | ASP.NET Hosting | Windows Server Hosting | Windows Server Help | Windows Phone Pro | Silverlight Ace | LightSwitch Tutorial | Visual Studio Tutorials | Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | SQL Server Training Videos | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Sonasoft | Andy Khanna | 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 | 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


                  © 2010 Jude O'Kelly. All rights reserved