Can you recover truncated data in SQL SERVER?
Rohit Kumar
While database is in full recovery mode, it can rollback any changes done by DELETE using Log files. TRUNCATE can not be rolled back using log files in full recovery mode.DELETE and TRUNCATE both can be rolled back when surrounded by TRANSACTION if the current session is not closed. If TRUNCATE is written in Query Editor surrounded by TRANSACTION and if session is closed, it can not be rolled back but DELETE can be rolled back.
Email me your complete system details
Possible when session is not closed.. If Session is closed means it not. BEGIN TRAN TRUNCATE TABLE TableName -- Following SELECT will return TestTable empty SELECT * FROM TableName -- Following SELECT will return TestTable with original data ROLLBACK
we can deallocate the truncate data in sql server