如果我恢复数据库并覆盖原始数据库有什么办法可以恢复吗? SQL管理工作室
我没有可用的备份,但我用备份文件覆盖了现有数据库。
问题是我写的 OVER 有一个存储过程,我需要取回。有没有办法在没有包含存储过程的数据库备份文件的情况下执行此操作?
I do not have a backup available but I wrote over an existing database with a backup file.
The problem is the one I wrote OVER had a Stored Proc that I need to get back. Any way to do this without a backup file of the database with the Stored Proc in it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
基本上答案是否定的。
尽管您非常幸运,但可能值得查看您的
%temp%
目录中名为~
....sql
的文件。我安装了 SSMS 工具包,它保留了 Management Studio 中执行的所有 SQL 语句的日志,这可能很有用在这种情况下。
Basically the answer is no.
It might be worth looking in your
%temp%
directory though at the files entitled~
....sql
just in case you are extraordinarily lucky.I have SSMS toolspack installed and that keeps a log of all SQL statements executed in Management Studio which might have been useful in this instance.
除非您有最初创建过程的脚本的副本。
Not unless you have a copy of the script that created the proc in the first place.