Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Tuesday, September 5, 2017

Error moving log.ldf

SQLServerCentral » Latest topics
Error moving log.ldf
Hi all,

Tried moving log.ldf to another drive but hit error. Script and error as below...

ALTER DATABASE dbName set offline
ALTER DATABASE dbName
MODIFY FILE (NAME='dbName_log',FILENAME='L:\MSSQL\Data\dbName_log.ldf')

No comments: