Hi
I previously added this question to the end of another thread but think it might needs it's own thread.
What I am looking to do is pull all of the serial numbers into one column, against the UniqueIdentifier that relates to that serial number.
This is the data I am using.
All of the fields above contain serial numbers that relate to a number in the UniqueIdentifier column.
What I'd also like to know if you can do on a SQL statement, is add a field in the query that shows which column the serial number originally came from. I'm not sure if this is something you can actually do though......
So essentially I would like the end query to have 3 columns. The UniqueIdentifier, Serial Numbers, and a column that gives the fields that the serial numbers came from.......this is bascially a descpription of the product.
Thanks in advance
I previously added this question to the end of another thread but think it might needs it's own thread.
What I am looking to do is pull all of the serial numbers into one column, against the UniqueIdentifier that relates to that serial number.
This is the data I am using.
Code:
SELECT SM_Cabinet_T.UNIQUEIDENTIFIER, SM_Cabinet_T.A1TX1RECEIVER, SM_Cabinet_T.A1TX1DUPLEXERASSEMBLY, SM_Cabinet_T.A1TX1COMBINER, SM_Cabinet_T.A1TX1TRANSMITTERCHASSIS, SM_Cabinet_T.A1TX1POWERAMPLIFIER1, SM_Cabinet_T.A1TX1POWERAMPLIFIER2, SM_Cabinet_T.A1TX1POWERAMPLIFIER3, SM_Cabinet_T.A1TX1POWERAMPLIFIER4
FROM SM_Cabinet_T;
All of the fields above contain serial numbers that relate to a number in the UniqueIdentifier column.
What I'd also like to know if you can do on a SQL statement, is add a field in the query that shows which column the serial number originally came from. I'm not sure if this is something you can actually do though......
So essentially I would like the end query to have 3 columns. The UniqueIdentifier, Serial Numbers, and a column that gives the fields that the serial numbers came from.......this is bascially a descpription of the product.
Thanks in advance