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:
01436859
Views:
27
>
>That is normal. Nobody could know what is the real file name of the database (the author is excluded).
>if you just use:
>
>CREATE DATABASE SomeName
>
>SQL Server could created whatever file name it wants (starting with SomeName) and I am not sure from file naming depends (and don't care). If you want to have a a file name of DB to be the same as DB you should use FILE NAME hint in create database command.

I finally had success. The problem was that when I created a database (blank one) and then tried to restore from .BAK into this database I forgot to check the Option to Overwrite the existing one - that you correctly suggested earlier. Once I did that the Restore was successful. Thank you very much for your help.
"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