I have a requirement where i need to prepare data for email ,So i populate
data into column of table having VARCHAR2(4000) as definition, Now what i want, is to
insert it into new line wherever i want to .
begin
v_email := v_email ||--new line--??;
end;
Suppose i am preparing email text ‘List of all blocked transaction id ‘ ..in one line
1)transaction_id ….in another lin e
2)transaction_id …..in another line.
I am using oracle as rdbms .
You could use the ASCII code and the CHR function to do this.
Here’s the entire list. http://www.asciitable.com/