"WITHIN GROUP" order clause is not supported for STRING_AGG aggregate

SQL Prompt reports an error when I try to format a statement including STRING_AGG with the optional WITHIN GROUP order clause
(https://docs.microsoft.com/en-us/sql/t-sql/functions/string-agg-transact-sql)
// Henrik
Tagged:

Answers

Sign In or Register to comment.