Hi,
I'm pretty new to Sybase, but I would like to know how I can concat columns together. For example, I have the following result set:
Ref | Desc
1 GBP
1 JPY
1 USD
2 GBP
3 JPY
3 EUR
4 GBP
But would like to get the following resultset
Ref | Desc
1 GBP, JPY, USD
2 GBP
3 JPY, EUR
4 GBP
Now if I was using MySql I would use the Group_Concat function and I believe Sybase has something similiar called list, but unfortunately this function is not available to me. I am using Sybase 15.0.3 ASE
Any help would be most greatful.
Thanks