Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I restore from .BAK file without any other
Message
General information
Forum:
Microsoft SQL Server
Category:
Backups
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01436834
Message ID:
01436838
Views:
48
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform