db2 java 创建临时表报错
db.executeUp("declare global temporary table T1 like test on commit preserve rows not logged in DB2INST1"); ResultSet rs2 =db.qu("Select * FROM DB2INST1.T1"); 这两句就报错啦,怎么回事呢? 谢谢
补充:数据库已经连接上了,没有问题的。报错为:
DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2INST1