代码演示: 属性/方法 类型 说明/调用示例 JoinStr aggregate select dbo.JoinStr(id) as ids from table——-结果:以逗号连接的字符串——1,2,3,4,5 代码演示: