Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: At the 4000 limit for LOBs in SQL
It didn't reproduce on 9.0.1.2.
But then it was a simple test with just a couple of rows in the email table.
Jonathan Lewis
http://www.jlcomp.demon.co.uk
Next Seminar - UK, April 3rd - 5th
http://www.jlcomp.demon.co.uk/seminar.html
Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html
Author of:
Practical Oracle 8i: Building Efficient Databases
-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Date: 25 March 2002 16:50
|Anyone seen behaviour like this before ?
|
|rem
|rem simple table
|rem
|SQL> create table blah (i number, x clob);
|
|Table created.
|
|rem
|rem Add a row that I construct (i=1), and then
|rem insert a row from an existing table (which
|rem also contains a clob)
|rem
|SQL> declare
| 2 r varchar2(32000) := rpad('*',20000,'*');
| 3 begin
| 4 insert into blah values (1,r);
| 5 insert into blah select 2,email
| 6 from email_content where id = 418830;
| 7 commit;
| 8 end;
| 9 /
|
|PL/SQL procedure successfully completed.
|
|rem
|rem So lengthwise the two lobs are similar
|rem
|SQL> select i, dbms_lob.getlength(x) from blah;
|
| I DBMS_LOB.GETLENGTH(X)
|---------- ---------------------
| 1 20000
| 2 19743
|
|rem
|rem And the first lob looks fine...
|rem
|SQL> select dbms_lob.substr(x,3999,1)
| 2 from blah where i = 1;
|
|DBMS_LOB.SUBSTR(X,3999,1)
|---------------------------------------------------------------------
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Mar 25 2002 - 13:38:49 CST