Syntax to rename a database

sp_renamedb 'oldname' , 'newname'