IBM DB2 created schema is not visible?

此生再无相见时 提交于 2019-12-11 09:47:33

问题


I create a new login and user name while installing the db2 DBMS. After installation I installed IBM data studio and then connected to DB2. I created schema and a table for test purpose. But I can't see this schema while I write sql query in data studio query editor (code asist). I also can't see this schema while I connect from netbean services. Is there any issue with privileged as I provided all privileged while creating schema to the user. I am using DB2 express edition.


回答1:


in db2 you have to predefine the statements its not like oracle or sql where you can commit with a button..... i think after creating a schema you might have forgotten to set the default schema and system path... that might be the reason




回答2:


You need to run the query or commit the statement in Db2 as submitted in comment.




回答3:


Pheraps it coulb be usefull, even I use DataStudio

In my case database manager is DB2 for z/OS; you can try to change it ...



来源:https://stackoverflow.com/questions/8284798/ibm-db2-created-schema-is-not-visible

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