当您在 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