Skip to main content
Answer

BQL: Aggregate Strings

  • October 17, 2023
  • 1 reply
  • 167 views

Does a Fluent BQL equivalent exist for the STRING_AGG function in SQL Server?

 

I am writing a query over a one-to-many relationship and would like to see a string column from the `many` table concatenated with commas.  Similar to how Customization Projects can display multiple Screen Names in a single cell.

 

Does any one know the best practice for achieving this?

Best answer by RohitRattan88

@skelly 

I am not aware of such BQL function but you could get your list using BQL and then use JoinToString(",") c# function to join those.

1 reply

RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • Answer
  • October 17, 2023

@skelly 

I am not aware of such BQL function but you could get your list using BQL and then use JoinToString(",") c# function to join those.