有什么方法可以对 Oracle 触发器进行逆向工程或对其进行反编译吗?

发布于 2024-09-09 06:15:50 字数 56 浏览 0 评论 0 原文

有没有办法反编译或逆向工程Oracle触发器?有可用的工具吗?有免费的吗?

谢谢!

Are there any way to decompile or reverse engineer Oracle trigger? Any tools available, any free ones?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

半寸时光 2024-09-16 06:15:50

这可以通过查询 user_triggers 或 dba_triggers 来完成:

从 user_triggers 中选择trigger_body,其中trigger_name = 'THENAME';

或者

从 DUAL 中选择 DBMS_METADATA.GET_DDL('TRIGGER','....')

如果触发器代码调用 本文 或在 google 上搜索“oracle unwrap pl/sql”

您还可以使用 Oracle管理或开发工具获取触发器源代码。

This may be done querying user_triggers or dba_triggers as such:

SELECT trigger_body FROM user_triggers where trigger_name = 'THENAME';

or

SELECT DBMS_METADATA.GET_DDL('TRIGGER','....') FROM DUAL

If the trigger code calls other code that is Wrapped (obsufacted) you will need to unwrap it, see this article or do a google search for "oracle unwrap pl/sql"

You can also use a Oracle managment or development tool to get the trigger source code.

蓦然回首 2024-09-16 06:15:50

Sql*plus 应该可以解决这个问题。您可以查询系统表来获取正文。

Sql*plus should be able to solve that. You can query the system tables to get the body text.

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