在SquirrelSQL中显示db2错误代码

时间:2013-02-15 12:03:43

标签: db2 squirrel-sql

在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

是否有人知道如何为db2 cmd line等错误代码制作SquirrelSQL显示说明?

操作系统:Win 7 x64,db2 10.1

1 个答案:

答案 0 :(得分:1)

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