You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by J....@bton.ac.uk on 2005/12/08 12:49:39 UTC

CLOB size limit? (error 22001)

Can anyone tell me what this means?

ERROR 22001: A truncation error was encountered trying to shrink CLOB '#
#Tue Dec 06 10:35:22 GMT 2005
f1=<b>Test 1 succeeeded (2 m&' to length 1048576.

Is there some sort of upper limit on the size of a CLOB?

-----------------------------------------------------------------
  John English              | mailto:je@brighton.ac.uk
  Senior Lecturer           | http://www.it.bton.ac.uk/staff/je
  School of Computing & MIS | ** NON-PROFIT CD FOR CS STUDENTS **
  University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------

Re: CLOB size limit? (error 22001)

Posted by Daniel John Debrunner <dj...@debrunners.com>.
J.English@bton.ac.uk wrote:

> Can anyone tell me what this means?
> 
> ERROR 22001: A truncation error was encountered trying to shrink CLOB '#
> #Tue Dec 06 10:35:22 GMT 2005
> f1=<b>Test 1 succeeeded (2 m&' to length 1048576.
> 
> Is there some sort of upper limit on the size of a CLOB?

See the reference manual.

http://db.apache.org/derby/docs/10.1/ref/rrefclob.html

That is missing the information that if no length is specified then the
length is 1M.

Dan.