报错提示:错误 2812:未能找到存储过程 ‘ sp_password ’。
准备:存储过程修复脚本,请点击下载获取。下载完毕后,请放置C盘根目录并解压。

1、开始 - 所有程序 - Microsoft SQL Server - 双击【企业管理器】(如图1-1)。

2、在【控制台根目录】找到 - 【Microsoft】-【SQL Server组】-【(local)(Windows)】-【数据库】- 单击【master】- 点击【工具】-【SQL查询分析器】(如图1-2)。

3、在【查询分析器】复制粘贴以下内容,并按【►】执行查询。下方显示【批查询完成】即执行完毕(如图1-3)。
sp_configure 'allow updates',1
RECONFIGURE WITH OVERRIDE

4、把上一步【查询分析器】中的内容清空,然后点击【装载SQL脚本】- 在弹出窗口【打开查询文件】- 找到准备提及的文件存放路径C盘,选择【sp_password.sql】-【打开】(如图1-4)。

5、打开完毕以后,按【►】执行查询。下方显示【批查询完成】即执行完毕(如图1-5)。

6、把上一步【查询分析器】中的内容清空,然后复制粘贴以下内容,并按【►】执行查询。下方显示【批查询完成】即执行完毕。执行完毕再去修改密码就可以正常修改了。
sp_configure 'allow updates',0
RECONFIGURE WITH OVERRIDE
网友评论