关于网友提出的“db2导入时报SQL3319N 创建表时发生 SQL 错误 "-286"”问题疑问,本网通过在网上对“db2导入时报SQL3319N 创建表时发生 SQL 错误 "-286"”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题:db2导入时报SQL3319N 创建表时发生 SQL 错误 "-286"
描述:E:\kelan\zjnsWebSite\zjbank1227>db2move zjnsWeb import
Application code page not determined, using ANSI codepage 1386
***** DB2MOVE *****
Action: IMPORT
Start time: Thu Aug 29 17:29:29 2013
Connecting to database ZJNSWEB ... successful! Server : DB2 Common Server V9.7.
5
Binding package automatically ... D:\IBM\SQLLIB\BND\DB2COMMON.BND ... successful
!
Binding package automatically ... D:\IBM\SQLLIB\BND\DB2MOVE.BND ... successful!
IMPORT: table "DB2INST1"."CMS_ATTACHMENT"
-Rows read: 109
-Inserted: 109
-Rejected: 0
-Committed: 109
IMPORT: table "DB2INST1"."CMS_CHANNEL"
-Rows read: 73
-Inserted: 73
-Rejected: 0
-Committed: 73
IMPORT: table "DB2INST1"."CMS_CHANNEL_ONLINE"
-Rows read: 73
-Inserted: 73
-Rejected: 0
-Committed: 73
IMPORT: table "DB2INST1"."CMS_DOCUMENT"
**ERROR -3319. Check message file tab4.msg!
** SQLCODE: -3319 - SQLSTATE:
*** SQL3319N 创建表时发生 SQL 错误 "-286"。
IMPORT: table "DB2INST1"."CMS_DOCUMENT_ONLINE"
**ERROR -3319. Check message file tab5.msg!
** SQLCODE: -3319 - SQLSTATE:
*** SQL3319N 创建表时发生 SQL 错误 "-286"。
IMPORT: table "DB2INST1"."CMS_EXTENDFIELD"
-Rows read: 114
-Inserted: 114
-Rejected: 0
-Committed: 114
IMPORT: table "DB2INST1"."CMS_GROUP"
-Rows read: 8
-Inserted: 8
-Rejected: 0
-Committed: 8
Disconnecting from database ... successful!
End time: Thu Aug 29 17:29:45 2013
E:\kelan\zjnsWebSite\zjbank1227>
解决方案1:你的数据库是不是用到存储过程了?
存储过程中可能用到一个“用户临时表空间”,这个临时表空间要你自己新建
(名字就是你存储过程中用的那个用户临时表空间的名字)-----》打开控制中心-----》打开你的数据库---》表空间----》创建------》表空间名----》下一步----》注意选择“用户临时表空间”-----》直到完成
如果还不行,那可能是你的“系统临时表空间”大小不够,自己要新建的
以上介绍了“db2导入时报SQL3319N 创建表时发生 SQL 错误 "-286"”的问题解答,希望对有需要的网友有所帮助。
本文网址链接:http://www.codes51.com/wd/682451.html