自己的电脑最近被中了1433病毒,SQL SERVER出现了N多异常。
重装之后,仍然不行,没有办法自己需要使用,故只能网上找资料自己清楚了。
步骤1:删除 sp_dropextendedproc 和 sp_addextendedproc 存储过程
drop procedure sp_addextendedproc
drop procedure sp_dropextendedproc
步骤2:重新创建以上两个存储过程
create procedure dbo.sp_dropextendedproc
@functname nvarchar(517) -- name of function as -- If we're in a transaction, disallow the dropping of the -- extended stored procedure. set implicit_transactions off if @@trancount > 0 begin raiserror(15002,-1,-1,'sys.sp_dropextendedproc') return (1) end -- Drop the extended procedure mapping. dbcc dropextendedproc( @functname ) return (0) -- sp_dropextendedprocexec sp_addextendedproc 'sp_trace_setevent','xpweb70.dll'