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 2000 Forums
 SQL Server Development (2000)
 Delimit column with ','

Author  Topic 

ajh
Starting Member

3 Posts

Posted - 2011-05-12 : 04:30:51
MY query returns this output :

A || B || C
== || == || ==

BK_1 || TE || ID
BK_1 || TE || BD


I want to display as :

A || B || C
== || === || ===

BK_1 || TE || ID,BD


Please guide . Is is possible using the coalesce ? Help with an example sql please

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2011-05-12 : 04:45:41
refer to http://sqlblog.com/blogs/adam_machanic/archive/2006/07/12/rowset-string-concatenation-which-method-is-best.aspx


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

Go to Top of Page
   

- Advertisement -