SQL RENAME DATABASE


SQL RENAME DATABASE statement is used to change the name of a database.

Syntax

RENAME DATABASE old_db_name TO new_db_name

Example

RENAME DATABASE student TO new_student

Share this article on