I have a mySQL database with about 800 rows that contain the titel
Post Month Year
For example: Post September 2012
This causes a problem when sorting the data output and it would be better if the data was:
Post Year Month
I have found topics where you can export the mysql database and change mm-yy into yy-mm with Notepad++ but those are all numbers.
Is there an option, within mysql notepad++ or another tool, to bulk change Month Year to Year Month?
Create a regex and replace for all occurrences. You can do this in Notepad++, if you like. Like this:
Find:
Post (\w+) (\d{4})Replace:
Post \2 \1EDIT: Another option would be to create a custom comparator for these fields while sorting, that allows you to keep your current data as it is.