"XHZ64408" 没有权限执行操作 "IMPLICIT CREATE SCHEMA"

"XHZ64408" does not have the privilege to perform operation "IMPLICIT CREATE SCHEMA"

我无法在云上的 IBM Db2 上创建 table。出现此错误的原因是什么?

状态: 失败

错误信息 "XHZ64408" 没有权限执行操作 "IMPLICIT CREATE SCHEMA".. SQLCODE=-552, SQLSTATE=42502, DRIVER=4.25.1301

您的用户没有 IMPLICIT_SCHEMA 数据库权限,无法在数据库中隐式创建模式。
Database authorities

IMPLICIT_SCHEMA

Allows any user to create a schema implicitly by creating an object using a CREATE statement with a schema name that does not already exist. SYSIBM becomes the owner of the implicitly created schema and PUBLIC is given the privilege to create objects in this schema.

您可能只允许在 XHZ64408 模式中创建对象。
您可以使用 SYSCAT.SCHEMAAUTH 视图进行检查。