Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contatenate data from rows 1

Status
Not open for further replies.

stnkyminky

Programmer
Oct 15, 2001
476
US
I've got a query that will return the following results

Name|Hobbies
Bob | Biking
Bob | Golfing
Bob | Baseball

Is there a way to return the following:
Bob | Biking,Golfing,Baseball ?




Scott
Programmer Analyst
<{{><
 
For sure with a dreaded "Cursor". Not sure you can achieve the desired results w/ a set based query BUT maybe on of the gurus here can come up with an example.

Thanks

J. Kusch
 
see thread183-788435

Sometimes the grass is greener on the other side because there is more manure there - original.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top