如果我恢复数据库并覆盖原始数据库有什么办法可以恢复吗? SQL管理工作室

发布于 2024-09-13 03:32:17 字数 99 浏览 0 评论 0原文

我没有可用的备份,但我用备份文件覆盖了现有数据库。

问题是我写的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

暖伴 2024-09-20 03:32:17

基本上答案是否定的。

尽管您非常幸运,但可能值得查看您的 %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.

巨坚强 2024-09-20 03:32:17

除非您有最初创建过程的脚本的副本。

Not unless you have a copy of the script that created the proc in the first place.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文