Hi I have a table with data in it as such:
Cars:
id | name
----------
1 | Buick
2 | Honda
3 | Toyota
What I would like to do in a Stored Proecdure is get the result like this:
Temp Table:
Buick | Honda | Toyota
----------------------
I realize it has no values, but I just want to get this part first.
I am guessing this would involve some sort of temporary table. Thank you.
Using MS SQL 2005, thank you.