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 Help - SQL 2000

Author  Topic 

saran_d28
Starting Member

36 Posts

Posted - 2009-07-08 : 01:00:49
Hi Team,

I have table like this ( Only one column and four rows)

column1
---------
a
b
c
d

I need a output like ( one column and one row with comma separated)

column1
---------
a,b,c,d

Please note , I am using SQL 2000

Thanks in advance

--Saran

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2009-07-08 : 01:07:10
quote:
Please note , I am using SQL 2000

Try to post in the correct forum. You have posted in T-SQL for 2005. There is a Transact-SQL (2000) for SQL Server 2000.

Anyway see Rowset string concatenation: Which method is best ?


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

Go to Top of Page

rajdaksha
Aged Yak Warrior

595 Posts

Posted - 2009-07-08 : 03:42:02
Hi

I have posted here..http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=128935
Go to Top of Page
   

- Advertisement -