Error 3724:Cannot drop the table 'object_name' because it is being used for replication.-ZT
2008-08-06 19:21
686 查看
原贴: http://blog.csdn.net/NinGoo/archive/2005/03/11/317150.aspx
Server: Msg 3724, Level 16, State 2, Line 1
Cannot drop the table 'object_name' because it is being used for replication.
当你试图删除或者变更一个table时,出现以下错误
Server: Msg 3724, Level 16, State 2, Line 1
Cannot drop the table 'object_name' because it is being used for replication.
比较典型的情况是该table曾经用于复制,但是后来又删除了复制
处理办法:
sp_configure 'allow updates', 1
go
reconfigure with override
go
begin transaction
update sysobjects set replinfo = '0' where replinfo >'0'
commit transaction
go
rollback transaction
go
sp_configure 'allow updates', 0
go
reconfigure with override
go
Server: Msg 3724, Level 16, State 2, Line 1
Cannot drop the table 'object_name' because it is being used for replication.
当你试图删除或者变更一个table时,出现以下错误
Server: Msg 3724, Level 16, State 2, Line 1
Cannot drop the table 'object_name' because it is being used for replication.
比较典型的情况是该table曾经用于复制,但是后来又删除了复制
处理办法:
sp_configure 'allow updates', 1
go
reconfigure with override
go
begin transaction
update sysobjects set replinfo = '0' where replinfo >'0'
commit transaction
go
rollback transaction
go
sp_configure 'allow updates', 0
go
reconfigure with override
go
相关文章推荐
- Error 3724:Cannot drop the table 'object_name' because it is being used for replication.
- Cannot drop the database XXX because it is being used for replication
- Cannot drop the database ‘XXX’ because it is being used for replication.
- Cannot drop the database ‘XXX’ because it is being used for replication.
- Cannot drop the database ‘XXX’ because it is being used for replication.
- IIS:The process cannot access the file because it is being used by another process.
- the process cannot access the file because it is being used by another process
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常
- the process cannot access the file because it is being used by another process
- the process cannot access the file because it is being used by another process
- Solution: The process cannot access the file [filename] because it is being used by another process.
- FileStream:The process cannot access the file because it is being used by another process
- 处理文件时遇到:The process cannot access the file because it is being used by another process.
- 【转】IIS: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
- The process cannot access the file because it is being used by another process.
- C# The process cannot access the file because it is being used by another process
- the process cannot access the file because it is being used by another process
- FileStream:The process cannot access the file because it is being used by another process
- the process cannot access the file because it is being used by another process
- C#使用Create创建文件后,报The Process cannot access the file because it is being used by another process的异常