| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: UTL_FILE replaces 0A by 0D 0A
Urs Metzger schrieb:
> Connor McDonald schrieb:
>> Kalle Heuwes wrote:
>>> Hi, Urs !
>>>
>>> Unfortunately it also happens with UTL_FILE.put.
>>> Besides it is not only appended at the end of a row; it is even
>>> replaced in the middle of a string:
>>>
>>> DECLARE
>>> lc_filename VARCHAR2 (100) := 'test.txt';
>>> lt_file UTL_FILE.file_type;
>>> BEGIN
>>> lt_file := UTL_FILE.fopen ('EXPORT', lc_filename, 'w');
>>> UTL_FILE.put(lt_file, 'hgfxxx' || CHR(10) || 'xxxgjhg');
>>> UTL_FILE.fclose (lt_file);
>>> END;
>>>
>>> Kind regards
>>> Kalle
>>
>> any joy with put_raw ?
I don't have right now a windows installation to test, but i was pretty sure, "WB" came only in 10g, was i wrong on it ?
Best regards
Maxim Received on Thu Sep 14 2006 - 04:19:55 CDT
![]() |
![]() |