SQL Queries to Change WordPress Database Prefix
Allows to generate SQL queries needed when changing a WordPress database table prefix.
SQL Queries to Change WordPress Site Domain
Just generate the queries and run them in MySQL when moving WP sites from one domain to another.