Can we rollback records deleted by a truncate statement?
Answer Posted / anand
yes,we can ROLLBACK records deleted by truncate if we had
executed BEGIN TRAN first
ex:
Begin Tran
truncate table tablename
ROLLBACK
with out "Begin Tran" you can not rollback
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
What is left outer join in sql server joins?
What is query cost in sql server?
What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?
What is difference between line feed ( ) and carriage return ( )?
How to defragment table indexes?
What is log cache in sql server?
What is dknf in normalization form?
How to reaname table name without using sp_Rename in sql server..?
What is data modeling and Reterminal integrity?
Tell me about the approaches which you used to counter the DI problems.
Which sql server table is used to hold the stored procedure scripts?
What is nolock?
Can I disable or restrict ssrs export formats (rendering formats)?
How to call a function from a stored procedure in SQL Server ?
What is the difference between lock, block and deadlock? : sql server database administration