Replicating table A into table B within the same database

  • Hi,

    I am trying to replicated table A into table B withing the same server and the same database.

    I am getting an error message when trying to configure the subscription:

    You have selected the Publisher as a Subscriber and entered a subscription database that is the same as the publishing database. Select another subscription database.

    Is there any workaround for this?

    I am using SQL Server 2008 R2.

    Thanks.

  • Solved the problem: subscription needs to be created from a script versus GUI. GUI seems to have a lot of restrictions.

  • I have to ask the question, please. Why is there a need to replicate a table to the same database? What is the reason?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply