Aggregate strings in Azure SQL Data Warehouse

后端 未结 2 653
醉话见心
醉话见心 2020-12-21 17:13

Is there a way to aggregate strings in Azure SQL Data Warehouse similar to the string_agg function in SQL Server?

I have records with strings that I wan

2条回答
  •  北海茫月
    2020-12-21 17:42

    Another way to achieve this to use the PIVOT function which is available in Azure SQL Data Warehouse. It's descibred in detail in this TechNet article: Concatenating Columns over Rows in APS/PDW AU4 using T-SQL

提交回复
热议问题