如何将加密的存储过程从在线数据库传输到本地? [英] How do I transfer encrypted stored procedures from online DB to local?

查看:132
本文介绍了如何将加密的存储过程从在线数据库传输到本地?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已经尝试了两个多星期来备份/复制数据库,并将我的存储过程从Web托管的SQL Server(2008)脚本写入本地安装(2008)。

Been trying for over two weeks to backup / copy a database and script my stored procedures from a web-hosted SQL Server (2008) to a local installation (2008).

问题是:我无法复制加密的。我知道,它完全失败了加密的目的,以获得实际的数据,但我想知道...在我们的案例中,开发数据库的人2年前消失了,离开了公司的所有人,没有开放 - 没有加密 - 加密的SP的备份。我是新的人,不知道如何知道这些SP。

Problem is: I can't copy the encrypted ones. I know, it totally defeats the purpose of encryption to be able to get the actual data, but I was wondering... In our case, the guy who developed the database vanished 2 years ago and left everyone at the company with no "open" - without encryption - backups of the encrypted SPs. I am the "new" guy and can't figure out how to get to know these SPs.

好的,当尝试使用脚本向导复制它时,我收到的消息有点显而易见:

Well, the message I get when trying to copy them using Script Wizard is a bit obvious:


Property TextHeader不适用于StoredProcedure
'[dbo]。[SP_CALC_PT_TV]'。此属性可能不存在此对象,或
由于访问权限不足而无法检索。 文本被加密。
(Microsoft.SqlServer.Smo)

Property TextHeader is not available for StoredProcedure '[dbo].[SP_CALC_PT_TV]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights. The text is encrypted. (Microsoft.SqlServer.Smo)

我试过到目前为止,没有成功:

I've tried so far, without success:


  • 通过Management Studio访问它们('modify'选项是灰色的,脚本不起作用) li>
  • 使用主机提供商自己的解决方案(基于网络)访问SPs

  • 使用第三方应用程序对其进行解密(没有足够的权限运行一些命令)

当然,我可以从头开始(约45个SP),但是我会猜测内容是什么,你知道...

Surely, I can just do them all again (about 45 SPs) from scratch, but I'd have to guess what the contents were and, you know...

我很感激任何帮助。提前致谢。

I'd appreciate ANY help. Thanks in advance.

推荐答案

如果您能够将托管数据库的备份还原到本地安装的SQL Server,则可以尝试任何我在这里找到的解密数量: http://www.elitude.net/

If you are able to restore a backup of the hosted database to a local installation of SQL Server, you could then try any number of decrypters I've found like the one here: http://www.elitude.net/

这篇关于如何将加密的存储过程从在线数据库传输到本地?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆