Link to home
Start Free TrialLog in
Avatar of bfeddish
bfeddishFlag for United States of America

asked on

Cannot drop table after replication

I had a push subscription on server A that moved a table to server B.  I deleted the push subscription on A and it deleted but it failed delete the information off of server B. If I try to delete the table on server B it says it cannot delete it because it's being used for replication.  I am no longer using replication on it, how can I delete this table?
Avatar of Tacobell777
Tacobell777

Are you sure that you deleted the subscription on both sides?
Avatar of bfeddish

ASKER

I have deleted the push subscription on server a. I can see the subscription still on the server b machine but there is no option do delete it. (Or do anything else for that matter)
Avatar of Lowfatspread
which database system is this for?
It's for SQL Server 2000.

I ended up dropping the publication alltogether on the publisher then the subscriber allowed me to delete the table.

You can run sp_addarticle and sp_droparticle on the replicated item involved without having to drop the entire publication.

When a table is subscribed to replication a number of processes are not possible.

check out:
replinfo int Reserved. For use by replication.
in the sysobjects table.

If the replinfo > 0 then this object is being used within replication.

ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial