Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to read large Clobs in Oracle
Don Vaillancourt wrote:
> Hello,
>
> We're written a query to read large clobs from an Oracle clob field.
> Below is the query that we are using which has worked so far for all our
> clients. But this one client is having issues with the sort segment
> growing extremely large when making a number of calls repeatedly. Is
> there a better way in Oracle to retrieve large amounts of content from
> clob fields.
>
> SELECT SUBSTR (si_large_content, 1, 4290) AS txt
> FROM search_index
> WHERE si_id = 1002020
>
> We're using Oracle 9i running on a Linux system. The query is being
> executed through CFMX if that makes any difference.
>
> Thanks
My first thought would be DBMS_LOB.SUBSTR
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Sat Nov 06 2004 - 07:19:03 CST
![]() |
![]() |