Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Query

Author  Topic 

sqlfresher2k7
Aged Yak Warrior

623 Posts

Posted - 2011-03-02 : 00:39:59
[code]
I need a query to split the data in the below format..

Ex:

TableA
------
Baby
Boy
CAT
Zebra

I want the output like the below

'|Baby|Boy|CAT|Zebra|'

Thanks for your help in advance.

[/code]

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2011-03-02 : 02:09:46
see http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -