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.
Author |
Topic |
ann
Posting Yak Master
220 Posts |
Posted - 2007-04-10 : 12:16:25
|
I want to insert data from another table into it's own column. Example:Table1:table1ID, Emp, Dept1 Joe Smith Accounting2 Jane Doe ITTable2:Table2ID Table1ID AdditionalDept1 1 HR2 1 ManagementResult:Emp Dept AdditonalDeptJoe Smith Accounting HR ManagementJane Doe IT Basically the additional departments have been combined into the one field. Is this even possible? |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-04-10 : 12:18:50
|
Yes, search for "Concat records" function here at SQLTeam.Peter LarssonHelsingborg, Sweden |
 |
|
|
|
|