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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Concatenating Values

Status
Not open for further replies.

dpgirl

Technical User
Apr 5, 2005
45
US
Here's my sample data:

Campaign Market
1 Los Angeles
1 New Orleans
1 St. Louis
2 Orlando
2 Seattle

I want to create a temporary table which will only have one record per Campaign value. All the Market values corresponding to that campaign will be combined into one string, separated by commas.

My desired result:

Campaign Market
1 Los Angeles, New Orleans, St. Louis
2 Orlando, Seattle
 
Look here: thread183-1159740

Post back here if you have any followup questions.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top