In Microsoft SQL Server Management Studio You can execute single command by selecting it and pressing F5
SQL Keywords are not case Sensitive
create database MyDatabaseInitially master database is selected
use MyDatabaseHere sp means Stored Procedure (Here old name is MyDatabase & new name is DBDatabase)
sp_renamedb MyDatabase,DBDatabase