Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I checked my database, the database is in restoring stage. I wrote the query to run the datbase normal,

What I have tried:

SQL
RESTORE DATABASE TestingDb WITH RECOVERY
GO

and the error occur in message box
SQL
The database cannot be recovered because the log was not restored.
Posted
Updated 3-Jan-18 0:47am

1 solution

You have to restore it scratch.

restore the db with fresh backup file because log was not restored properly.

this happens when you stopped the restoring process mid way.
 
Share this answer
 
Comments
Member 13338075 2-Jan-18 22:29pm    
Yes, the restoring process is mid way and i want the solution to with queries when the fresh db backup is deleted or not stored in the storage. Is there a possible way to run the queries to get the database normal?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900