To rename a database. 1- Connect to the Database Engine. 2- From the Statndard bar, click New Query. 3- Copy…