Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming SQL Server database
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01491882
Message ID:
01491894
Views:
59
>Hi,
>
>I had a database in my SQL Server 2005, let's call it ABC. I renamed this database in the SSMS to ABCTest. Then I wanted to create a new database names ABC but SSMS tells me that the name already exist. And yes, when I check the DATA folder the database names ABC_log.ldf and ABC.mdf exist. Do I understand that no matter what name you give the database in the SSMS the actual name remains the same as it was assigned when the database was created?
>
>TIA.

Check ALTER DATABASE command MOVE option. I'm not sure it's possible to do in SSMS designer, but it's possible with the ALTER TABLE command.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform