It is easier than you think.
I think this link has a lot of good info about how to implement the subquery.
I still use the FOR XML PATH version, as String_Agg still doesn’t work in our version of epicor.
It is easier than you think.
I think this link has a lot of good info about how to implement the subquery.
I still use the FOR XML PATH version, as String_Agg still doesn’t work in our version of epicor.