Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Query help

Author  Topic 

xDoug
Starting Member

1 Post

Posted - 2009-09-20 : 12:16:23
Hello everyone,

How do I separate multiple equal values with a comma? Right now I have it working, however I want to separate the equal values with a comma, and the different values to show in another row.
SOmething like this:

Atlanta - 123 Example, 123 Example
New York - 345 Example

Thanks

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-09-20 : 13:42:58
Not clear.
Where is the data coming from and on what condition?
Can you give table structure, sample data and wanted output?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -