View previous topic :: View next topic
|
Author |
Message |
kishpra
New User
Joined: 24 May 2010 Posts: 92 Location: Pune
|
|
|
|
Hi,
I need the below -
col1^col2^col3^
Select col1,col2,col3
from tab1
Thanks, |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Try
Code: |
SELECT COL1, '^',
COL2, '^;,
col3,'^'
from tab1; |
|
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
If all the three columns are of datatype char
You could try
Code: |
SELECT COL1||'^'||COL2||'^'||COL3||'^' FROM TABL1; |
|
|
Back to top |
|
|
|