I am using MS SQL Server 2000. I have a table that has multiple elements for each ID, so when i list them out, I get multiple records for the same ID. I would like to create a separate field for each element so in the end, that ID only lists once as a single record.
here is an example:
A 1
A 2
A 3
B 1
B 2
C 1
C 3
D 1
This is how I would like it to be:
A 1 2 3
B 1 2
C 1 3
D 1
One final thought, i would like these in separate fields, not in a list in one field.
Any help would be appreciated.
Thanks.
here is an example:
A 1
A 2
A 3
B 1
B 2
C 1
C 3
D 1
This is how I would like it to be:
A 1 2 3
B 1 2
C 1 3
D 1
One final thought, i would like these in separate fields, not in a list in one field.
Any help would be appreciated.
Thanks.