Recover from single *.mdf file
Hello,
Possible to recover database from a single *.mdf file? The *.mdf file does not exist on this databaseserver originally.
I tried to use:
exec sp_attach_single_file_db 'a', 'D:\demodata_Data.mdf'
and it returns that:
Server: Msg 1813, Level 16, State 2, Line 1
Could not open new database 'a'. CREATE DATABASE is aborted.
Device activation error. The physical file name 'C:\Program Files\Microsoft SQL Server\MSSQL\data\demodata_Log.LDF' may be incorrect.
Any suggestions for this?