【发布时间】:2018-09-20 03:58:43
【问题描述】:
我有一个 db2 express-c 11.1 版本的备份文件,我想将它恢复到 db2 developer 版本(都在 Windows 机器上)。 RESTORE 成功完成,我可以从 db2 命令行列出表
db2 list tables for schema XYZ
但是当我尝试访问数据时,我收到以下错误消息
SQL0551N The statement failed because the authorization ID does not have the
required authorization or privilege to perform the operation. Authorization
ID: "DB2USER". Operation: "SELECT". Object: "XYZ.Table1". SQLSTATE=42501
我以 RESTORE 数据库的用户身份登录。这里有什么问题?
【问题讨论】: