Tuesday, February 21, 2012

Restore .mdf file as database

Hi.
Is it possible to restore a database from a .mdf file or a .log file?
Regards
Mr. Smith"Mr. Smith" <nospam@.blindfolded.gone> wrote in message
news:%23nV1xYG3EHA.1452@.TK2MSFTNGP11.phx.gbl...
> Hi.
> Is it possible to restore a database from a .mdf file or a .log file?
>
You can attempt to sp_attach_db or sp_attach_single_file_db
Good luck.
> Regards
> Mr. Smith
>|||You should just attach the .mdf and .ldf
"Mr. Smith" wrote:
> Hi.
> Is it possible to restore a database from a .mdf file or a .log file?
>
> Regards
> Mr. Smith
>
>

No comments:

Post a Comment