Some of you will remember having this discussion before...
I have used "CHR(10)" for inserting the value for a carriage return (and did not require CHR(13)).
I would suggest trying using CHR(10) by itself (i.e. without the CHR(13)) and only add the additional if it is required.
I have used this both for storage on the database, displaying in a multi-line forms field. However if you are exporting to a text file (e.g. using TEXT_IO or UTL_FILE), the carriage return control sequence may be different for whatever is picking up the text file (e.g. JetForms uses '~' as the CR control character sequence).
HYH,
JT
Main Topics
Browse All Topics





by: mnicorasPosted on 2001-02-27 at 01:20:12ID: 5882554
Hi,
try CHR(13)||CHR(10) for inserting carriage return.
ex: insert into tempo(str_col) values('Enter follow by ME:'||CHR(13)||CHR(10)||' ME');
select * from tempo;
str_col
---------
Enter follow by ME:
ME
I have Oracle 8.1.7 on Windows 2000.
Best Regards,
Marius