错误 3724,无法除去表"xxx",因为它正用于复制。

在SQL Server 2000 里,你可能在删除表或更新一个表的索引,会收到下面的错误提示:

错误 3724,无法除去表"xxx",因为它正用于复制。

比较典型的情况是该table曾经用于复制,但是后来又删除了复制

在查询分析器里执行

-----允许对系统表进行修改
sp_configure 'allow updates', 1
go
RECONFIGURE WITH OVERRIDE
go
-----将复制的标记位清除 
  use  (数据库名)    
  go     
  update sysobjects set replinfo=0   where   name='(表名)'   
  go  
 
----取消允许对系统表进行修改 
sp_configure 'allow updates', 0
go
RECONFIGURE WITH OVERRIDE
go


转载自 http://blog.163.com/zxj_wei/blog/static/82598643201002254838885/

你可能感兴趣的:(sql,数据库,server,table,Go,2010)