, .LDF , ..LDF , SQL .
, , .LDF, , SQL Server . , , :
File activation failure. The physical file name "<<filename.ldf>>" may be incorrect.
Msg 945, Level 14, State 2, Line 1
Database '<<DB Name>>' cannot be opened due to inaccessible files or insufficient
memory or disk space. See the SQL Server errorlog for details.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
, , , . - . .
:
SP_ATTACH_SINGLE_FILE_DB @dbname='<<DBName>>'
,@physname=N'<<filepath\filename.MDF>>'
:
File activation failure. The physical file name "<<Filepath\filename.ldf>>"
may be incorrect.
New log file '<<Filepath\filename.ldf>>' was created.
.
The question about the $$$$ million remains - why would anyone delete the .LDF file ???
Rajah
source
share