问题
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