SQL开发人员:为其他用户生成数据库文档

编程入门 行业动态 更新时间:2024-10-26 21:21:52
本文介绍了SQL开发人员:为其他用户生成数据库文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的数据库中有一个Admin用户.管理员用户有权访问所有数据库对象.我没有管理员用户的凭据.

I have a Admin user in our database. Admin user has access to all database object. I do not have credentials of Admin user.

我的应用程序还具有普通用户,该用户具有对Admin用户的许多对象的访问权限(选择/删除授予等).因此,在SQL Developer中,当我使用普通用户创建连接时,可以转到其他用户->管理员用户",然后会看到许多表/视图/触发器/过程.

My application also has Normal user which has access privileges (select/delete grants etc) on many objects of Admin user. So in SQL developer, when I create connection using Normal user, I can go to "Other Users -> Admin User" and I see many tables/views/triggers/procedures.

当我尝试使用SQL Developer生成数据库文档时(右键单击连接名称->生成数据库文档...),生成的文档仅包含由我的普通用户创建的对象.报告不包含来自管理员用户的对象,我的普通用户对其具有SELECT授予.如何将来自Admin用户的对象包括到生成的数据库文档中?我只想包含我的普通用户对其具有SELECT授予权限的Admin用户中的那些对象.

When I try to generate DB doc using SQL developer (Right click on connection name -> Generate DB Doc...), generated documentation contains only objects that are created by my Normal user. Report does not contain objects from Admin user, for whom my Normal user has SELECT grants. How can I include objects from Admin user into my generated DB documentation? I only want to include those objects from Admin user for whom my Normal user has SELECT grant.

推荐答案

不幸的是,这仅适用于连接的用户.这意味着您必须连接到Admin才能为Admin运行dbdoc.

Unfortunately, This only works for the connected user. That means you'll have to connect to Admin to run the dbdoc for Admin.

更多推荐

SQL开发人员:为其他用户生成数据库文档

本文发布于:2023-10-20 09:11:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1510543.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:其他用户   开发人员   文档   数据库   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!