Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I restore from .BAK file without any other
Message
 
 
À
28/11/2009 13:14:44
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01436834
Message ID:
01436838
Vues:
51
>>Hi,
>>
>>I have downloaded a source code to a book that I am studying. The downloaded source has a .BAK file (backup of a database). But when I go to the SQL Server 2005 Management Studio and go to Restore command I need to specify to which database I want to restore. And, of course, I don't have an earlier (or any) verison of this database. Therefore, how do I restore a database from .BAK file without having a database?
>>
>>TIA,
>
>
>Start SSMS.
>In Object Explorer, right click on Databases and select Restore Database.
>IN "To Database" write the name of the database (new one).
>
>Other way.
>Just create a DB with the same name before restore the backup file.

Thank you, Borislav. After I posted my message I thought about your 2nd (Other way) as an approach but was not sure. Now I will proceed.
"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