So I have specification tables that relate to products that vary by product type. I need a stored procedure that will return a single-row of unique comma-delimited values in each of the columns (used for site navigation code) in a spec table (or a resultset of said spec table).
I hope this makes sense.
Thank you all for the responses so far. I will explain in more detail...
Each spec table has a different number of columns (and rows, for that matter). Let's say one of them has 50,000 rows and a manufacturer column. Now let's assume there are 5 unique manufacturers in the there as well. Let's also assume the same table also has a color column that shares 7 colors among all 50,000 rows.
My (currently imaginary) stored procedure should return one row with the following columns...
- Manufacturer:
Manu1,Manu2,Manu3,Manu4,Manu5 - Color:
color1,color2,color3,color4,color5,color6,color7
I intend to use this result to build my site navigation.