IBM DB2 created schema is not visible?

2019-08-01 04:00发布

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.

标签: database db2
3条回答
你好瞎i
2楼-- · 2019-08-01 04:47

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

查看更多
趁早两清
3楼-- · 2019-08-01 04:48

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

查看更多
Summer. ? 凉城
4楼-- · 2019-08-01 04:56

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 ...

enter image description here

查看更多
登录 后发表回答