
If the database is in the Simple recovery model, the chances for a successful recovery are decreased, as the transactions you aim to recover might already have been truncated. If you select to create a new table instead of a T-SQL script, ApexSQL Recover will create a new database, table(s) and insert deleted records into them.ĪpexSQL Log reads the transaction logs (online, detached and transaction log backups), searches for DELETE transactions and creates UNDO scripts that insert deleted records into the table. The output T-SQL recovery script in ApexSQL Recover inserts the records into the table.ġ, '20110101', '12:12:00', N'2' COLLATE SQL_Latin1_General_CP1_CI_AS, N'2' COLLATE SQL_Latin1_General_CP1_CI_AS, N'2' COLLATE SQL_Latin1_General_CP1_CI_AS, NULL If new records haven’t been written into this space yet, ApexSQL Recover can read the original record and recover it. Rather, it’s marked to indicate that the space where the record was stored is now available, and can store new records. When a record is deleted, it’s not immediately removed from the MDF file. This recovery option is available both in ApexSQL Log and ApexSQL Recover.Īlthough the output is the same, mechanisms used to recover the records are different, so if by chance ApexSQL Log does not recover the deleted records, we recommend trying the ApexSQL Recover and vice versa.ĪpexSQL Recover reads the deleted transactions from the database MDF file.

Recovering data lost due to a DELETE operation Recover table due to a DROP TABLE operation Recover data lost due to a DROP TABLE operation Recover data lost due to a TRUNCATE operation Recover data lost due to a DELETE operation ApexSQL Log and ApexSQL Recover are two tools by ApexSQL that can be used to recover deleted records and dropped tables.Īlthough ApexSQL Log does recovery of data from delete or drop table operations into SQL script format, it is also an extremely useful tool in cases where post incident auditing is required.ĪpexSQL Recover on the other hand, can extract blobs into files and perform recovery either by creating a T-SQL script to re-create the objects and insert the records, or by creating a new database (containing both data and objects recovered).
