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)
 Multiple row in seperated with comma

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-07-15 : 07:46:57
Awaneesh writes "sir

i want to know that if in table like

mytable :
1 anil
2 bholu
2 chottu
2 anil
3 amit

so that my select should result in

1 anil
2 bholu,chottu,anil
3 amit

pls send me that query as early as possible

bye thanks
awaneesh"

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-07-15 : 07:47:24
Try these:

http://www.sqlteam.com/searchresults.asp?SearchTerms=csv
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-07-15 : 08:34:19
One more link
http://sqljunkies.com/WebLog/amachanic/archive/2004/11/10/5065.aspx?Pending=true

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -