Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: utl_file limit of 1023 byte. How avoid it?

Re: utl_file limit of 1023 byte. How avoid it?

From: Christopher Beck <clbeck_at_us.oracle.com>
Date: Fri, 08 Jan 1999 00:17:25 GMT
Message-ID: <36984d54.29177284@inet16.us.oracle.com>


On Thu, 07 Jan 1999 22:17:36 GMT, fn032944_at_flashnet.it wrote:

>HI,
>I have to write to a file line of 2000 byte. I use utl_file but the
>limit of 1023 per line makes me problem.
>How could avoid it?
>tia
>Max from Rome

In versions before 8i, there is no other way but to split it up.

But in 8i, the utl_file.fopen function has been extended to

   allow for a max_linesize up to 32K.

from the 8i utl_file spec...

<quote>

  /*
  ** FOPEN - open file (user-specified maximum line size)
  **
  ** This version of FOPEN allows the user to specify the desired
maximum

hope this helps

chris.

--
Christopher Beck
Oracle Corporation
clbeck_at_us.oracle.com
Reston, VA.



Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Thu Jan 07 1999 - 18:17:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US