删除db2模式特权

删除db2模式特权,db2,db2-luw,Db2,Db2 Luw,我使用用于创建示例数据库的id和密码连接到了db2。我正在尝试删除我意外创建的架构。 我用了下面的方法 SQL> drop schema TGR RESTRICT; 其中,TGR是我试图删除的模式的名称 我得到了这个错误 ERROR near line 1: SQL0551N The statement failed because the authorization ID does not have the required authorization or privilege to

我使用用于创建示例数据库的id和密码连接到了
db2
。我正在尝试删除我意外创建的架构。 我用了下面的方法

SQL> drop schema TGR RESTRICT;
其中,
TGR
是我试图删除的模式的名称

我得到了这个错误

ERROR near line 1:
SQL0551N  The statement failed because the authorization ID does not have the
required authorization or privilege to perform the operation.  Authorization
 ID: "DB2ADMIN".  Operation: "DROP SCHEMA". Object: "TGR     ".
DB2ADMIN
是用于创建示例数据库的id


我正在Windows7 Professional上运行DB2Version10.5Express-C。

模式是否为空,该模式中是否有表?请尝试
从syscat.tables中选择tabname,其中tabschema='TGR'
我感觉您正在查找数据\u henrik-我以前删除了schema.mustaccio中唯一的表-我想了解为什么drop schema命令失败。