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 database replicaion? : Sql server database administration
How do you use a subquery to find records that exist in one table and do not exist in another?
role of sql sever 2005 in database rather than any other database
How to send email from database?
Explain the concept of view and Types of views in SQL server?
Introduction of rollup clause using sum and group by clause?
Does sql server use java?
Do you know what is difference between stored procedure and user defined function?
what is sql server? : Sql server database administration
What is the difference between system objects and user objects?
What is the Disadvantage of indexed sequential file.
How to add a new dsn with the odbc driver for sql server?
How do I create a partition table in sql server?
Explain an automatic checkpoint
What are the diifferences between the ms sql server vs mysql?