I have created a table with clob column and a long tablespace for it to go in.
However when I try to use the LOAD utility it truncates the column at 32K. The data is stored in a simple text file.
I thought I have done everything correctly...but obviously I missed something...
If somebody could take a look at the following SQL I would much appreciate it.
Here is my SQL:
CREATE TABLESPACE RBTEMPLATES_TS
MANAGED BY DATABASE USING (FILE '/udb/dmscontainers/rbtemplates' 1M)
;
CREATE LONG TABLESPACE RBTEMPLATELONG_TS
MANAGED BY DATABASE USING (FILE '/udb/dmscontainers/rbtemplateslong' 1M)
;
CREATE TABLE DB2ADMIN.RBTEMPLATES
(TEMPLATE_NM CHAR(30) NOT NULL
,TEMPLATE_INSTANCE CHAR(20) NOT NULL
,EFFECTIVE_DT DATE NOT NULL
,TEMPLATE CLOB(50000) NOT LOGGED
,PRIMARY KEY(TEMPLATE_NM,TEMPLATE_INSTANCE,EFFECTIVE_DT))
IN RBTEMPLATES_TS LONG IN RBTEMPLATELONG_TS
;