General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Combining multiple records
When doing an insert, how can i merge one field from multiple records in a table but not the other fields?
For example, we are rewriting our application in vb.net using sql server. On the data transfer we have a customer comments table which we need to import. The format for this is
CustNo Comment (varchar30)
------- -------------------
1 aaaaaa
1 bbbbbb
1 cccccc
and what we need in new app is
CustNo Comment (Text)
-------- --------------------
1 aaaaaa bbbbbb cccccc
Any ideas?
Thanks
Steve
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only