I recently went through the ordeal of changing the prefixes of the WordPress tables from the default wp_ to something more random, I have created the following to help anyone wanting to go through the same process.
[dciframe]https://mectile.com/downloads/wordpress-table-renamer-helper.php,450,450[/dciframe]