SQLTeam.com | Weblogs | Forums

Is it possible to specify the order in a STRING_AGG()?

Hello

I do a STRING_AGG([Date]) GROUP BY [ID].

Is it possible the aggregate to be in a min to max order?

Thanks!

Yes, it's in the documentation:

4 Likes

This is what people have been getting after you about... you need to start using the documentation.

2 Likes