Hello all,
I have a table with two fields in it. one of the fields named "Docid" has duplicate values in it and the other field named "Content" has unique content in it. I would like to merge the content in the field called "Content", whenever the docid's are duplicate, seperated by a ";" and only grab the first instance of the Docid.
For Example:
Docid | Content
0001 | Shaun
0001 | Shane
0002 | Mike
0003 | Robert
The query should return the following results.
Docid | Content
0001 | Shaun;Shane
0002 | Mike
0003 | Robert
I would like to recieve this in a query form, but if a sql statement is needed, then so be it.
Thank you in advance
I have a table with two fields in it. one of the fields named "Docid" has duplicate values in it and the other field named "Content" has unique content in it. I would like to merge the content in the field called "Content", whenever the docid's are duplicate, seperated by a ";" and only grab the first instance of the Docid.
For Example:
Docid | Content
0001 | Shaun
0001 | Shane
0002 | Mike
0003 | Robert
The query should return the following results.
Docid | Content
0001 | Shaun;Shane
0002 | Mike
0003 | Robert
I would like to recieve this in a query form, but if a sql statement is needed, then so be it.
Thank you in advance