AS/400 数据库表可以隐藏吗?
我试图从 AS/400 数据库的表中删除一条记录。我收到一条错误消息,指出同一架构 ABC 中的另一个表 XYZ 存在引用完整性。
令我惊讶的是,该表并不在我的 DbVisualizer 数据库客户端显示的表列表中。
然后我决定对该表(ABC.XYZ)进行选择 - 但我取回了记录。认为这可能是客户端问题,我使用了另一个客户端(AS/400 Operations Navigator) - 我得到了相同的结果:表不在列表中,但当我执行 SELECT * FROM ABC.XYZ 时得到了结果
我的问题那么,AS/400表可以这样隐藏吗?
(请注意,该表甚至不在视图/系统表/别名/物化查询表中)
I was trying to delete a record from a table in AS/400 database. I got an error message saying that there is a referential integrity to another table XYZ in the same Schema ABC.
To my wonder, that table was not in the list of the tables shown by my DbVisualizer database client.
Then I decided to do a select on that table (ABC.XYZ) - but I got the records back. Thinking that it might be a client problem, I used another Client (AS/400 Operations Navigator) - I had the same results: table not on the list, but got the results back when I did a SELECT * FROM ABC.XYZ
My questions is, can the AS/400 tables be hidden in such a manner?
(Please note that the table was not even in the views/system table/Alias/Materialized Query Table)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以通过对象上的权限“隐藏”表。您有 *ALLOBJ 权限吗?
Tables can be "hidden" via authorities on the object. Do you have *ALLOBJ authority?