Home arrow SQL Server arrow Page 3 - Replication: SQL Server 2000 - Part 2

Replication: SQL Server 2000 - Part 2

In this second, and final, installment, Mahesh gives us a step-by-step approach on how to implement replication across a network using SQL Server 2000.

Author Info:
By: Mahesh Kodli
Rating: 5 stars5 stars5 stars5 stars5 stars / 104
November 13, 2003
  1. · Replication: SQL Server 2000 - Part 2
  2. · Getting Started: Step-By-Step
  3. · Getting Started: Step-By-Step, Cont'd.
  4. · Code: Stored Procedure
  5. · Getting Started: Step-By-Step, Cont'd.
  6. · General Replication Performance Tips
  7. · Conclusion

print this article

Replication: SQL Server 2000 - Part 2 - Getting Started: Step-By-Step, Cont'd.
(Page 3 of 7 )

Creating Publication

  • Right click on the PUBS database and click on New/Publication, which will run the Publication wizard.
  • Select the PUBS database as the Publication Database

  • Chose Merge Replication as the replication type.

  • Specify what types of Subscribers will subscribe to this Publication.  In this example I chose SQL Server 2000 as the Subscriber types.
  • Chose the ‘Object type’ you want to Publish. In this example I chose to publish all types of objects.

  • Go to all the table article properties (click on the ellipses) and select the Identity Range tab and check the Automatic Identity Range Manipulation check box and set Publisher and Subscriber range to a desired value.  In this example, I will set the Identity range value as 1500. This is a tedious process; hence it is necessary to automate this process.  I will use the following system stored procedures to set the identity range explicitly:
    • Sp_adjustpublisheridentityrange
    • Sp_addmergearticle

blog comments powered by Disqus

- Executing SQL Server Stored Procedure from P...
- How to Search for Date and Time Values Using...
- Replication: SQL Server 2000 - Part 2
- Replication: SQL Server 2000 - Part 1
- SQL Sever: Storing Code in Binary or Text Fi...
- Execute SQL on Multiple Tables/Columns - New...
- How to Connect to a SQL Server from Visual F...
- SQL Server Hardware Tuning and Performance M...
- Primary Key on Multiple Tables – New RDBMS C...
- Migrating from Sybase to SQL Server
- What's Best for DBAs? GUI or T-SQL Comma...
- How to Perform a SQL Server Performance Audit
- An Introduction To The Bulk Copy Utility
- SQL Server Stored Procedures 101
- Building Your First SQL Server 2000 Database

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials