Rename Database - Online SQL Generator

Form for generating sql

This form allows you to generate sql for rename database:

Your generated sql can be seen below.

Result of sql generation

Press F11 to switch to fullscreen mode
Move to "Paste Code" for Save

About "rename database sql generator"

About this tool

The Rename Database SQL Generator was created to help with generating sql code for "Rename Database". No need to remember syntax and type required data, now you can easily generate an SQL query online.

How it Works?

Just enter your "Old Database Name" and "New Database Name" to the input above then click to the button "Generate" and you will get your SQL code.

Tip

Make sure you have admin privilege before renaming any database. Once a database is renamed, you can check it in the list of databases with the following SQL command: SHOW DATABASES;

Share