If the primary key in my database is a series of 5 letters, I would like to be able to retrieve that record by performing a query with the letters in ANY ORDER. For example:
The primary key for record #1 = "ABCDE"
I want to be able to search for that record using any combination of those 5 letters. So, I could retrieve the record if I searched using "EDBCA", or "BADCE" or "DCBEA" etc etc
Is there a REGEXP or something where I can perform this operation? I have played around a little bit with regexp, but I haven't really found anything.
Thanks
Jon