Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to read clob field

707781Jul 24 2012 — edited Jul 25 2012
hi, experts,

I have a clob column in the database.
I use this sql to know maximum length on the clob field.


select max(dbms_lob.getlength(clob_filed)) from table;

then use this sql to read the clob field


select dbms_lob.substr(clob_filed, 1000000, 1) from exportlog;

I run this sql in sql developer and sqlplus in command prompt.

both always return NULL.
how to read? I need to export them.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 22 2012
Added on Jul 24 2012
7 comments
22,966 views