?
Solved

Deleting Replicated tables

Posted on 2003-12-04
5
Medium Priority
?
537 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 26

Expert Comment

by:Hilaire
ID: 9878851
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
ID: 9879459
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:Dishan Fernando
ID: 9879734
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:
Dishan Fernando earned 2000 total points
ID: 9879736
0
 

Author Comment

by:schmir1
ID: 9885030
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

777 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