I have a String coming in like this -
ABC;ABC;XYZ;PQR;ABC;PQR
And requirement is to convert this to something like this -
ABC;XYZ;PQR
Meaning a Regex should keep all Unique words and remove duplicates. Can anyone please help me with this. Is this possible in SQL?