Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: utl_file: to fflush or not to fflush?
Joost Mulders <mail_at_j-mulders.demon.nl> wrote in message news:<3BDC82E8.8A1409E4_at_j-mulders.demon.nl>...
> Hi,
>
> I am having a hard time with the code below (8.1.5, solaris). If the blob being put is > 32768, then the produced filesize is always 32768. The fflush in the loop is needed to write out the complete file. I think that's not what's documented.
Joost,
utl_file is not suitable for writing binary data. I think you need pro*c for this one. Unloading of data has never been a strong point with oracle. It's easy to get it in but once it is ....
Ronald.
![]() |
![]() |