I need to compose a messgage from within oracle. When I do this, I get 1 big string back (I use a varchar to return the composed message) no matter how I try to insert newlines.
I have tried the following, all to no avail:
myMessage := 'asdfsad' || '\n' || 'asdfsad'
myMessage := 'asdfdsa' || '\r\n' || 'asdfsad'
myMessage := 'asdfsadf' || '\014' || 'asdfsa'
myMessage := 'sadfdsa' || '<cr>' || 'asdfds'
any ideas on how to do this? My last resort will have to be to insert a marker character in the composition & then write a client side script to replace the marker character with a newline - but this is a hack..
mymsg := 'this is the first line.';
mymsg := mymsg || chr(10) || 'This is the second line';
Thanks very much. It works.
Click Here to Expand Forum to Full Width