hi,
i have a table called names and field name
select * from names
name
a
b
c
d
i want to display like this
name
a,b,c,d
how it is possible
Regards
Baiju
Answer Posted / kulwinder
DECLARE @chrString as varchar(200)
select @chrString=@chrString + ',' + Name from Names
? @chrString
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between value type and reference type?
Can group functions be mixed with non-group selection fields in ms sql server?
What are triggers? How many triggers you can have on a table? How to invoke a trigger on demand?
What is dbcc updateusage?
How to create percentile function?
What are the authentication modes in sql server? How can it be changed?
What is the fillfactor concept in indexes?
What is the usage of sign function?
Explain full-text query in sql server?
What is after dml trigger?
What is ssl in sql server?
What do you mean by authentication modes in sql server?
write an SQL query to list the employees who joined in the month of January?
What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration
how to define testing of network layers? : Sql server database administration