Hi,
Thanks very much for those responded. Is there a way in SQL server that takes the data from table1 and outputs the data like table2?
Thanks!
Table1:
+---------+-----------+----------+------------------+
| Name | DOB | Agent ID | Agent Name |
+---------+-----------+----------+------------------+
| subject | 4/20/1960 | 4444 | Smith |
+---------+-----------+----------+------------------+
| subject | 4/20/1960 | 4444 | John |
+---------+-----------+----------+------------------+
| subject | 4/20/1960 | 4444 | Larry |
+---------+-----------+----------+------------------+
Table2:
+---------+-----------+----------+------------------+
| Name | DOB | Agent ID | Agent Name |
+---------+-----------+----------+------------------+
| subject | 4/20/1960 | 4444 | Smith,John,Larry |
+---------+-----------+----------+------------------+