I have two tables in my database. Both of them have strings which are up to 5-6 words long. I want to make sure that the strings in one table dont exist in the other even if the words within the strings are arranged differently.
So how would I select a string from both tables and re-arrange them so that the words in each string are ordered alphabetically? If I could do this I should be able to make a direct comparison to prevent duplicate entries.
Thanks.
So how would I select a string from both tables and re-arrange them so that the words in each string are ordered alphabetically? If I could do this I should be able to make a direct comparison to prevent duplicate entries.
Thanks.