I have a requirement that outlines the needs at the following:
Grouping a comma separated value on common data
I need to group on comma seaparated values that have common data. The proposed solution by Andreas in the link above works, but is getting stuck in a loop with the first set of values, so correctly updates grp with 1, but then it doesn't do the current_group = currenct_group+1.
Looks like it doesn't break out of the unprocessed: loop, and therefore does not return to main:loop to update the next group. can't figure out why unprocessed doesn't get set to null. My first set of values are only two reference, which seem to get repeated an awful lot in the groups table.
Any thoughts?