DB2 SQLCODE=-1585的问题解决
转自:http://www.cnblogs.com/QQParadise/articles/2746418.html
Error:SQLCODE=-1585,SQLSTATE=54048,SQLERRMC=null,DRIVER=3.57.82
db2数据库没有建足够大的临时表空间,新建一个足够大的临时表空间,然后问题解决
CREATE BUFFERPOOL MYPOOL SIZE 500 PAGESIZE 32K;
CREATE TEMPORARY
TABLESPACE TEMPSPACE2 PAGESIZE 32K MANAGED BY DATABASE USING(FILE
'stealth2/temp02' 128000) EXTENTSIZE 80 bufferpool MYPOOL;