标签: sybase-ase15

字符串的Sybase ASE 15聚合函数

我找到了一种将不同行中的字符串聚合到sybase ASE 15中的单行中的方法。像这样:

id | Name                    Result: id | Names
-- - ----                            -- - -----
1  | Matt                            1  | Matt, Rocks
1  | Rocks                           2  | Stylus
2  | Stylus
Run Code Online (Sandbox Code Playgroud)

T-SQL中的FOR XML PATH之类的东西。

谢谢!

sql sybase aggregate-functions sybase-ase sybase-ase15

2
推荐指数
1
解决办法
2079
查看次数