软件下载 | 资讯教程 | 最近更新 | 下载排行 | 一键转帖 | 发布投稿
您的位置:最火下载站 > 网络编程 > SQL SERVER > SQLserver数据库危险存储过程删除与恢复方法

SQLserver数据库危险存储过程删除与恢复方法

SQL的扩展的删除与恢复
删除
代码如下:
use master
exec spdropextendedproc “xpcmdshell“
exec spdropextendedproc “xpdirtree“
exec spdropextendedproc “xpenumgroups“
exec spdropextendedproc “xpfixeddrives“
exec spdropextendedproc “xploginconfig“
exec spdropextendedproc “xpenumerrorlogs“
exec spdropextendedproc “xpgetfiledetails“
exec spdropextendedproc “SpOACreate“
exec spdropextendedproc “SpOADestroy“
exec spdropextendedproc “SpOAGetErrorInfo“
exec spdropextendedproc “SpOAGetProperty“
exec spdropextendedproc “SpOAMethod“
exec spdropextendedproc “SpOASetProperty“
exec spdropextendedproc “SpOAStop“
exec spdropextendedproc “Xpregaddmultistring“
exec spdropextendedproc “Xpregdeletekey“
exec spdropextendedproc “Xpregdeletevalue“
exec spdropextendedproc “Xpregenumvalues“
exec spdropextendedproc “Xpregread“
exec spdropextendedproc “Xpregremovemultistring“
exec spdropextendedproc “Xpregwrite“
drop procedure spmakewebtask
go

恢复
代码如下:
use master
exec spaddextendedproc xpcmdshell,“xpcmdshell.dll“
exec spaddextendedproc xpdirtree,“xpstar.dll“
exec spaddextendedproc xpenumgroups,“xplog70.dll“
exec spaddextendedproc xpfixeddrives,“xpstar.dll“
exec spaddextendedproc xploginconfig,“xplog70.dll“
exec spaddextendedproc xpenumerrorlogs,“xpstar.dll“
exec spaddextendedproc xpgetfiledetails,“xpstar.dll“
exec spaddextendedproc spOACreate,“odsole70.dll“
exec spaddextendedproc spOADestroy,“odsole70.dll“
exec spaddextendedproc spOAGetErrorInfo,“odsole70.dll“
exec spaddextendedproc spOAGetProperty,“odsole70.dll“
exec spaddextendedproc spOAMethod,“odsole70.dll“
exec spaddextendedproc spOASetProperty,“odsole70.dll“
exec spaddextendedproc spOAStop,“odsole70.dll“
exec spaddextendedproc xpregaddmultistring,“xpstar.dll“
exec spaddextendedproc xpregdeletekey,“xpstar.dll“
exec spaddextendedproc xpregdeletevalue,“xpstar.dll“
exec spaddextendedproc xpregenumvalues,“xpstar.dll“
exec spaddextendedproc xpregread,“xpstar.dll“
exec spaddextendedproc xpregremovemultistring,“xpstar.dll“
exec spaddextendedproc xpregwrite,“xpstar.dll“
    相关阅读
    栏目导航
    推荐软件