Just wondering if it is possible in Mysql to move characters inside a string without having to resort to PHP, etc.
Example:
Blue Dahlia, The
Has to become "The Blue Dahlia". So remove the comma and move the "the" after it to the beginning. Removing the comma could be done with:
... SET field = REPLACE(field, CHAR(47), '')
But moving the "the" to the beginning seems daunting to me since I just can't replace all the instances of "the", only the one after the last comma.
This is easily done with PHP but I was wondering if I could do it in SQL, since it's (hopefully) a one-time thing.
Thanks.