Solved

Cannot drop table after replication

Posted on 2003-10-30
8
213 Views
Last Modified: 2010-08-05
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?
0
Comment
Question by:bfeddish
8 Comments
 
LVL 17

Expert Comment

by:Tacobell777
ID: 9654369
Are you sure that you deleted the subscription on both sides?
0
 
LVL 1

Author Comment

by:bfeddish
ID: 9654381
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)
0
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 9657407
which database system is this for?
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 1

Author Comment

by:bfeddish
ID: 9657452
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.

0
 
LVL 13

Expert Comment

by:danblake
ID: 10640429
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.

0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11113111
PAQed, with points refunded (500)

Computer101
E-E Admin
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now