Scripting Replication

  • Hi,

    Does anyone know why when you generate a drop script for a publication the following is done,

    Drop Subscribers - - That's fine

    exec sp_dropsubscription @publication = N'ENTER PUBLICATION HERE'

    , @article = N'all'

    , @subscriber = N'ENTER SUBSCRIBING SERVER HERE'

    , @destination_db = N'ENTER SUBSCRIBING DATABASE HERE'

    Drop Articles

    -Why is the sp_dropsubscription re-run here

    exec sp_dropsubscription @publication = N'ENTER PUBLICATION HERE'

    , @article = N'ENTER ARTICLE HERE'

    , @subscriber = N'all'

    , @destination_db = N'all'

    exec sp_droparticle @publication = N'ENTER PUBLICATION HERE'

    , @article = N'ENTER ARTICLE HERE'

    , @force_invalidate_snapshot = 1

    Any thoughts?

    Thanks

    Graeme

  • Yes...I can't type very well....Scripting Replication

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

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