Concatenate rows in select query (in Advantage Data Architect)
问题 How can I concatenate rows in select query? (in Advantage Data Architect) I tried run the following scripts: The first script: declare @str string; set @str = ''; select @str = @str + field_1 from my_table1 But I get a result where all rows contain "false", like this picture: Second script: declare @str string; select @str = coalesce(@str + ', ','') + field_1 from my_table1 This time, all rows are empty (note: the field from "my_table1" is not null). Picture: I tried to search the solution on