3

当您在 db2 命令行工具中运行查询时,您会得到如下解释:

db2 => select * from sysibm.systables  where owner = 'SAM'  and type = 'T';
SQL0206N  "OWNER" is not valid in the context where it is used.
SQLSTATE=42703

但是,当在 SquirrelSQL 的 SQL 选项卡中运行时,您只会得到:

Error: DB2 SQL Error: SQLCODE=-206, SQLSTATE=42703, SQLERRMC=OWNER, DRIVER=4.13.127
SQLState:  42703
ErrorCode: -206

有谁知道让 SquirrelSQL 显示错误代码解释的方法,比如 db2 cmd 行?

操作系统:Win 7 x64,db2 10.1

4

1 回答 1

1

DB2 插件中有一个错误,我已设法修复它并在http://sourceforge.net/p/squirrel-sql/bugs/1073/上发布了解决方案

于 2013-02-18T09:20:46.683 回答