SQL Replication

Posted on 2009-04-15
Last Modified: 2012-05-06
I have set up merge replication in SQL 2005.  In one of the tables that I am replicating there is a field that I do not want to replicate so I unchecked it when setting up the publication.  When I set up the subscription SQL deleted the unchecked field from the subscription DB.  I want the field there I just do not want the data replicated.  Has anyone had this problem or know of a way around this issue?
Question by:Codeonesysadmin
    LVL 7

    Expert Comment

    by:Hemantgiri S. Goswami
    Here an article on how to add/remove column in Merge Article
    LVL 10

    Expert Comment

    every time you have apply a snapshot you will have a problem as you objects will get rescripted and you column will disappear..   i would create another table that is not part of replication to hold this static subscriber data..

    Accepted Solution

    We have changed the way we are replicating to work around this problem.  Thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now