Cannot delete distribution data

  • I cannot delete distribution database udner system databases. I remember created replication on this server long time back and try to delete distribution database.

  • have you removed the replication?

  • Yes,

    How about if i try like this.

    sp_configure 'allow updates', 1

    reconfigure with override

    go

    UPDATE master..sysdatabases SET category = 0 where name='distribution'

    and then delete the distribution database.

  • Have you disabled that server from being a distributor yet? Right click on replication folder, "Disable Publishing and Distribution"

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • why not set up replication again and then deleting it again?

  • I disable the replication and Distribution database is gone.

    Thanks for all your help.

    Special thanks to David.

Viewing 6 posts - 1 through 5 (of 5 total)

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