Link to home
Start Free TrialLog in
Avatar of srikotesh
srikotesh

asked on

how to do line separation in oracle while doing concatenation

Hi Experts,

I have a table dept
there are 3 address columns like address1,address2,address3
i have to get these 3 address columns  as single value along with line separator.

address:
sathya street
AP
India

i need to show it in 3 lines as single value called address.

can some one suggest me how to do using orcle.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
normally, you should get them as is from database, and use them in your app as you like...

in asp

<p>
Address: 
<%# Eval("address1")%><br>
<%# Eval("address2")%><br>
<%# Eval("address3")%>
</p>

Open in new window


or some unknown language:

address = data.address1 + "\n" + data.address2 + "\n" + data.address3

Open in new window


all these kinds of formatting formatting issues should be done on app / client side...
Avatar of srikotesh
srikotesh

ASKER

thx