Solved

Deleting Replicated tables

Posted on 2003-12-04
5
489 Views
Last Modified: 2008-03-03
I'm getting the following error message when I try to delete a table:
  Error 3724: Cannot drop the table 'dbo.Raw_Test_Data' because it is being used for replication.
                                                                                               
The table use to be on the subscriber's side of a replication.  I deleted the replication on the distributor server but still can't delete these tables???
0
Comment
Question by:schmir1
5 Comments
 
LVL 26

Expert Comment

by:Hilaire
Comment Utility
Hi,
does this query return a row for your table ?

select * from sysarticles where name = <YourTable>
Can you post the result ?

Hilaire
0
 
LVL 42

Expert Comment

by:frodoman
Comment Utility
In addition to deleting the publication, you must also delete any jobs associated with the replication.  Usually this is only the snapshot agent which runs (unless you changed the default) once a week.

I don't have it in front of me, but in Enterprise Mgr I believe you'll find the job under Management -> Jobs.  Delete the snapshot agent for this replication and then you should be able to drop the table.
0
 
LVL 8

Expert Comment

by:dishanf
Comment Utility
No.....U can not drop the table if it is being replicated.

If you want to Drop table. You must delete the replication first.
0
 
LVL 8

Accepted Solution

by:
dishanf earned 500 total points
Comment Utility
0
 

Author Comment

by:schmir1
Comment Utility
I tried deleting Jobs but that didn't help.

Thanks dishanf.  I needed to do all steps then I could delete the tables.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

763 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

15 Experts available now in Live!

Get 1:1 Help Now