TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to recover a database log in SQL Server
Karthikeyan Anbarasan
Mar 31, 2012
3.7
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This blog shows on how to recover the database log with Recovery.
We can use the RESTORE and WITH RECOVERY statements in SQL to recover a database log in SQL Server.
The following syntax recovers from a BACK file to SampleDB.
RESTORE LOG SampleDB
FROM DISK = 'E:\SQLBackups\SampleDBbackup.BAK'
WITH RECOVERY
This blog shows on how to recover the database log with Recovery
Next Recommended Reading
Recover Deleted Data On SQL Server