How to create a new schema on a database at IBM Data Studio?

爱⌒轻易说出口 提交于 2019-12-13 17:03:39

问题


I am trying to create a new schema on a database that I created at IBM Data Studio but I get error:

"DB2ADMIN" does not have the privilege to perform operation "CREATE SCHEMA".. SQLCODE=-552, SQLSTATE=42502, DRIVER=3.67.28.

How can I do it on command line?

Thanks!


回答1:


It is just because the user that you are using to connect to the database does not have the DBADM authority.

Possible duplicate of this question: create db2 schema using jdbc

Please check the documentation: create db2 schema using jdbc



来源:https://stackoverflow.com/questions/25403769/how-to-create-a-new-schema-on-a-database-at-ibm-data-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!