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 MyDatabase
Initially master database is selected
use MyDatabase
Here sp means Stored Procedure (Here old name is MyDatabase & new name is DBDatabase)
sp_renamedb MyDatabase,DBDatabase