A temporary table could not be c…

来源:互联网 发布:sql重复数据删除 编辑:程序博客网 时间:2024/05/21 15:47
数据库表空间不足出现的异常。对于刚接触DB2数据库的同行来说是个很郁闷的问题吧。杨小一今天刚刚找到了原因以及一个解决方案。希望能对大家有用!
If the length of 4000 (and may be above?) is really requiredfor your VARCHAR columns, how about using CLOB instead of VARCHARfor the VARCHAR(4000) columns?
Add the LONG IN clause in the CREATE TABLE statement to store yourCLOB data in a separate tablespace.
相信广大的程序猿们看完后会豁然开朗吧。简单翻译一下吧:就是看看表里有没有大字段。如果varchar(4000)或者更高的话,可以换成CLOB字段,避免这个问题。祝各位安好!
0 0