SQL Server
  Home arrow SQL Server arrow Page 5 - Replication: SQL Server 2000 - Part 2
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SQL SERVER

Replication: SQL Server 2000 - Part 2
By: Mahesh Kodli
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 91
    2003-11-13

    Table of Contents:
  • Replication: SQL Server 2000 - Part 2
  • Getting Started: Step-By-Step
  • Getting Started: Step-By-Step, Cont'd.
  • Code: Stored Procedure
  • Getting Started: Step-By-Step, Cont'd.
  • General Replication Performance Tips
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Replication: SQL Server 2000 - Part 2 - Getting Started: Step-By-Step, Cont'd.


    (Page 5 of 7 )

    Specify the Publication Name

    • Accept other settings and create the publication:

    With the above steps completed, we have published the data in the ‘Pubs’ database and have also set publication properties.

    Create Snap Shot

    • Navigate to <Server>/Replication/Publications/Properties

    • Select the Status tab

    • Click on the “Run Agent Now” button.  This will create the snap shot files.

    Adding Subscribers

    • Create a new SQL Server Database.  In this example I have created a new database named PubsSubscriber.
    • Right click on <Server>/Replication/Publications/Pubs:<Publication>
    • Click “Push New Subscription” to run the New Subscription wizard

    • Choose the newly created database as the Subscriber Database:

    • Set the Merge Agent schedule:

    • Choose Initialize both schema and data option and check Start the Merge agent to initialize the subscription immediately:

    Since my Subscriber Database was a new database, I have chosen to initialize both the schema and the data.

    Navigate through the wizard, accepting further options and click on finish to complete the wizard steps.

    With the above steps completed, we have created a new subscriber database and setup the handshake between Publisher and Subscriber.

    Now you can distribute the Subscriber database to its users who can ‘play’ with their own copy of data, and synchronize the data as per the rules of business.

    Synchronize

    • To synchronize, Right click on the <Server>/Replication/Publications/Pubs:<Publication>, and click “Start Synchronization”.

    More SQL Server Articles
    More By Mahesh Kodli


     

    SQL SERVER ARTICLES

    - 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






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT