Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 How to recover tables when deleted mistakenly

Author  Topic 

Starting Member

31 Posts

Posted - 2015-05-06 : 04:11:09
Please help me !!

Unfortunately I've deleted my database all tables but the size of the files(mdf, ldf) is not changed. I want to recover all the tables. Unfortunately, database backup not been taken.
Please help me how to recover the deleted tables without taking any help of any software.

Please please please giving best solution


Almighty SQL Goddess

38200 Posts

Posted - 2015-05-06 : 15:34:34
Sorry, but you are screwed given those parameters.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page

Master Smack Fu Yak Hacker

2179 Posts

Posted - 2015-05-07 : 01:41:16
Your only hope is if you or someone else took a local backup - worth checking on the backup history table -

Jack Vamvas
Go to Top of Page


22859 Posts

Posted - 2015-05-07 : 05:11:38
Presumably even if in FULL Recovery Model there will be NO Log to (tail) backup UNLESS a Full Backup was taken in the past?
Go to Top of Page

Yak Posting Veteran

52 Posts

Posted - 2015-05-27 : 05:06:40
SQL Server keeps logs for each deleted record. You can query these logs via the fn_dblog SQL Server function.

SELECT [RowLog Contents 0]
FROM sys.fn_dblog(NULL, NULL)
AllocUnitName = 'dbo.TableName'
AND Operation in ( 'LOP_DELETE_ROWS' )
But this log is in Hex format and you need to convert this Hex format to your actual data.
Go to Top of Page

- Advertisement -