Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming SQL Server database
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01491882
Message ID:
01491894
Vues:
60
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform