Table is replicated property

  • Hi

    How do I change the 'Table is replicated' property from true to false?

    Thanks

    Thami

  • Try this:

    execute sp_replicationdboption 'dbname','Publish','False',1

  • Thanks but I was able to sort out the error. I was getting the error below:

    Cannot truncate table because it is published for replication or enabled for Change Data Capture.

    I then executed:

    EXECUTE sys.sp_cdc_disable_table

    @source_schema = N'dbo',

    @source_name = N'myTableName',

    @capture_instance = N'dbo_myTableName';

    Thanks again

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

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