在 Teradata 中使用 SHOW TABLE 命令需要什么权限?
在 Teradata 中使用 SHOW TABLE
命令需要什么权限?
我查看了 Teradata 数据字典、Teradata Administrator 用户指南并在 Google 上进行了搜索,但我找不到任何相关文档。
我收到错误:
用户无权访问 xxx.yyy
What permissions do I need to use the SHOW TABLE
command in Teradata?
I've looked in the Teradata Data Dictionary, the Teradata Administrator User Guide and searched on Google, but I can't find any documentation for this.
I'm getting the error:
The user does not have any access to xxx.yyy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SHOW 权限可在表级别和数据库级别使用,允许用户查看
表定义和访问 DCL 语句(例如 SHOW TABLE、HELP TABLE、HELP
STATS 等),而无需 SELECT 访问表。
向开发人员或服务人员授予 SHOW 权限以允许访问信息
关于一个对象并查看其结构,但无法实际访问任何数据。
任何具有“WITH GRANT”选项的用户都可以向其他人授予SHOW权限。
以下是向用户授予在单个表上显示表的语法。
以下是将数据库中所有表的 show table 权限授予用户的语法。
The SHOW privilege, available at the table level and database level, allows a user to see the
table definition and access DCL statements (such as SHOW TABLE, HELP TABLE, HELP
STATS, and so on) without having SELECT access to a table.
Grant the SHOW privilege to a developer or service personnel to allow access to information
about an object and see the structure, but not have any actual access to any of the data.
Any user with the "WITH GRANT" option can grant the SHOW privilege to others.
The following is the syntax to grant show table on a single table to a user.
The following is the syntax to grant show table for all the tables in a database to a user.