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:
01491897
Vues:
47
>>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.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform