Move WordPress site to another domain – change URLs

If you need to move WordPress site from one server to another and your domain name or URLs change – i.e. from http://olddomain.com to http://newdomain.com, you have to apply the SQLs bellow on you database: