這很令人尷尬,但我似乎無法找到一種方法來列出DB2數據庫中表的名稱。這裏是我的嘗試:使用LIST命令顯示DB2中的所有表
[email protected]:~# su - db2inst1
[email protected]:~# . ~db2inst1/sqllib/db2profile
[email protected]:~# LIST ACTIVE DATABASES
我們收到此錯誤:SQL1092N "ROOT" does not have the authority to perform the requested command or operation.
的DB2版本號如下。
[email protected]:~# db2level DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09071" with level identifier "08020107". Informational tokens are "DB2 v9.7.0.1", "s091114", "IP23034", and Fix Pack "1". Product is installed at "/opt/db2V9.7".
不應該是從第二行開始的「db2inst1 @ VO11555」嗎? – 2010-05-05 06:26:32