这很令人尴尬,但我似乎无法找到一种方法来列出DB2数据库中表的名称.这是我尝试过的:
root@VO11555:~# su - db2inst1
root@VO11555:~# . ~db2inst1/sqllib/db2profile
root@VO11555:~# LIST ACTIVE DATABASESRun Code Online (Sandbox Code Playgroud)
我们收到此错误: SQL1092N "ROOT" does not have the authority to perform the requested command or operation.
DB2版本号如下.
root@VO11555:~# 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".