Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Printing control character CHR(253) using UTL_FILE.PUT

Joe VApr 1 2014 — edited Apr 2 2014

Hi all,

I am trying to use a control character CHR(253) as a delimiter.  The script works fine in 11i put when I use the same code in R12 its not printing the control character.

v_dem VARCHAR2(10) := CHR(253);

UTL_FILE.PUT(v_handle, '1111');

UTL_FILE.PUT(v_handle, v_dem);

UTL_FILE.PUT(v_handle, '2222');

This does not print the control character.

When I use cat -v output_file.csv, its showing the control character in Unix in 11i, but in R12 its just not printing the control character.

Thanks for you help and time.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 30 2014
Added on Apr 1 2014
1 comment
535 views