SQL Server Enterprise Manager does not let you change your database name once you create it. If you want to change your database name, you may have to manually run the following script to change it. First of all you have to login to SQL Server using osql command line utility. Once you are in, fire following commands to rename database.
ALTER DATABASE OldName SET SINGLE_USER WITH ROLLBACK IMMEDIATE go sp_renamedb 'OldName', 'NewName' go ALTER DATABASE NewName SET MULTI_USER go
Vishal Monpara is a full stack Solution Developer/Architect with 13 years of experience primarily using Microsoft stack. He is currently working in Retail industry and moving 1’s and 0’s from geographically dispersed hard disks to geographically dispersed user leveraging geographically dispersed team members.