meissnersdc
06-14-2004, 09:25 AM
I have a data base table where the schema is
idCol valCol
1 aaaa
1 bbbb
1 cccc
2 dddd
3 eeee
3 ffff
A particular id might have zero, one or more entries in the table.
For all rows, I would like to concatinate the rows for each
id into a single data grid cell.
---------------------------
| 1 | aaaa bbbb cccc |
---------------------------
| 2 | dddd |
---------------------------
| 3 | eeee ffff |
---------------------------
Is there an easy way to do this? Maybe with GROUP BY?
Computer Consultant - www.meissnersd.com
idCol valCol
1 aaaa
1 bbbb
1 cccc
2 dddd
3 eeee
3 ffff
A particular id might have zero, one or more entries in the table.
For all rows, I would like to concatinate the rows for each
id into a single data grid cell.
---------------------------
| 1 | aaaa bbbb cccc |
---------------------------
| 2 | dddd |
---------------------------
| 3 | eeee ffff |
---------------------------
Is there an easy way to do this? Maybe with GROUP BY?
Computer Consultant - www.meissnersd.com