August 13, 2013 at 9:10 pm
hi ,
I have database where i have 2 log files. I would like to delete one of the log file which is empty.
when i'm trying to remove the log file using the GUID, i get the error that
Could not locate file '18' for database Mydatabase in sys.database_files. The file either does not exist, or was dropped.
then i saw that the LDF is OFFLINE. how can i trouble shoot more to get the file online.
August 28, 2013 at 5:15 pm
I've few references for you:
SQL 2005/ 2008,
http://saveadba.blogspot.com/2012/02/remove-data-log-file.html
SQL 2012,
http://technet.microsoft.com/en-us/library/ms175574.aspx
I hope this helps you out.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply