Same article in different Publications

Hi!

I'd like to publish two publications, both of them have got the same articles. That is all working fine.

But what when I'd like to make an article download only in the one publication and writeable in the other If I change the status (downloadable only) in one publication, it's automaticaly also altered in the other publication...


I would be glad, if someone could help me!


Answer this question

Same article in different Publications

  • Elizabeth Bradley

    Hi Basil,

    Articles published in 2 different publications need to have the same value for this setting (downloadonly)

    Please see BOL topics: "Publishing Data and Database Objects" and "sp_addmergearticle (Transact-SQL)"


    Publishing Data and Database Objects

    If an article is published in more than one merge publication, the following properties must have the same value for the article across all publications:

    Property Parameter in sp_addmergearticle

    Column tracking

    @column_tracking

    Schema options

    @schema_option

    Column filtering

    @vertical_partition

    Subscriber upload options

    @subscriber_upload_options

    Conditional delete tracking

    @delete_tracking

    Error compensation

    @compensate_for_errors

    Identity range management

    @auto_identity_range (deprecated) and @identityrangemangementoption

    Publisher identity range

    @pub_identity_range

    Identity range

    @identity_range

    Identity range threshold

    @threshold

    Partition options

    @partition_options

    Blob column streaming

    @stream_blob_columns

    Filter type

    @filter_type (parameter in sp_addmergefilter)


    sp_addmergearticle (Transact-SQL)
    [ @subscriber_upload_options = ] subscriber_upload_options

    Defines restrictions on updates made at a Subscriber with a client subscription. For more information, see < XML:NAMESPACE PREFIX = MSHelp NS = "http://msdn.microsoft.com/mshelp" />Optimizing Merge Replication Performance with Download-Only Articles. subscriber_upload_options is tinyint, and can be one of the following values.

    Value Description

    0 (default)

    No restrictions. Changes made at the Subscriber are uploaded to the Publisher.

    1

    Changes are allowed at the Subscriber, but they are not uploaded to the Publisher.

    2

    Changes are not allowed at the Subscriber.

    Note:
    If the source table for an article is already published in another publication, then the value of subscriber_upload_options must be the same for both articles.


  • Same article in different Publications