wendelina
asked on
How would you bring back a SQL2005 database if the transaction log was deleted?
Question: if you detached your database, stopped your SQL service, and deleted the transaction log file in SQL 2005, how would you be able to recover - or even bring the database back online?
did you backup the database before you detached it?
Have you tried sp_attach_single_file_db
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Create Database AdventureWorks
(Name=Adventureworks, file='C:\Program Files\Microsoft SQL Server\MSSQL.1\Data\Advent ureWorks_L og.ndf
FOR ATTACH_REBUILD_LOG
is another one we are going over.
thank you ptjcb.
~W.
(Name=Adventureworks, file='C:\Program Files\Microsoft SQL Server\MSSQL.1\Data\Advent
FOR ATTACH_REBUILD_LOG
is another one we are going over.
thank you ptjcb.
~W.