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


Product Reviews

All Reviews
Audit Tools
Backup Tools
Change Management Tools
Clustering Tools
Coding Tools
Design Tools
Diff / Compare Tools
Documentation Tools
Job Management Tools
Log Recovery Tools
Monitoring Tools
Remote Access Tools
Reporting Tools
Security Tools
Testing Tools

Write for Us

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

Filtered Indexes in SQL Server 2008
Importance of Database Backups and Recovery Plan
Data Compression in SQL Server 2008
SQL Server 2008 MERGE Statement

More     
 
Latest FAQ's

ALTER TABLE SWITCH statement failed because the object '%.*ls' is not ...
ALTER TABLE SWITCH statement failed because column '%.*ls' at ordinal %d ...
ALTER TABLE SWITCH statement failed because table '%.*ls' has %d columns ...
SQL Server Reporting Server (SSRS) service is failing to start ...

More     
   
Latest Software Reviews

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

More     

reviews >> diff / compare tools >> Quickly Compare and Synchronize SQL Server Database ...

Quickly Compare and Synchronize SQL Server Database Contents with SQL Data Compare

By : Satya Jayanty
May 31, 2006

Page 2 / 4

If you choose to compare a single table object between the servers, select the object. Then, if your selection is limited to a number of rows with a WHERE clause, click the filter button to show the WHERE Clause Editor (figure 5) for the selected row.

Filter button


Figure 5. WHERE Clause Editor.

In the WHERE Clause Editor, if you want to use a different WHERE clause for each object, clear the Use the same WHERE clause for both objects check box and type the other WHERE clause in the box on the right.

The mappings on the Remap Objects tab (figure 6) are useful for identifying the objects that are used to compare within two databases.


Figure 6. Remap Objects tab.

The mappings work on objects with the same name and same owner in SQL Server 2000. An additional feature is available in SQL Server 2005 is schema-based mapping.


Figure 7. Detail from the Remap Objects tab.

In the screenshot above (figure 7), the upper pane displays a list of schemas, database roles, and database users that SQL Data Compare has automatically mapped for you. The lower pane displays a list of schemas, database roles, and database users that could not be mapped. SQL Data Compare cannot compare certain combinations of data types. For example, a timestamp column can be compared, but the tool cannot synchronize the timestamp columns.

Options (figure 8), the last tab in Project Configuration, is an advanced feature that enables you to modify the default behavior of SQL Data Compare. You can set options to disable and re-enable triggers between two comparison projects to synchronize the databases.


Figure 8. Options tab.

Restore Defaults will apply default settings such as Ignore case, Ignore space, Include indexed views, Include identity columns, Include timestamp columns, Disable foreign keys, Use transactions in SQL Scripts, and Show identical values in results. If you move the mouse over each mapping behavior, you'll see a description of that behavior.


<< Prev Page     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