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)
 Queries

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-06 : 08:35:16
Chockalingam writes "I have two tables A and B. A is the master table and B is the child table. I would like to have a query that returns all rows from A along with a string that contains a particular column values in B appended with ',' .

ie.,let there be two columns in A and B

Table A
col1 col2
~~~~ ~~~~
1 value1
2 value2

Table B
col1 col2
~~~~ ~~~~
1 detail 1 of 1
1 detail 2 of 1
1 detail 3 of 1

The query should return the values

1 value1 detail 1 of 1, detail 2 of 1, detail 3 of 1
2 value2 "

graz
Chief SQLTeam Crack Dealer

4149 Posts

Posted - 2002-03-06 : 08:35:16
Please search the site for CSV.
Go to Top of Page
   

- Advertisement -