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 SQL Server?
How to copy the tables, schema and views from one sql server to another?
What is Lock table in SQL?
What is multi-statement table-value user-defined function?
Explain Geography datatype in SQL Server
What are the differences between lost updates and uncommitted dependencies?
Why variables called the most powerful component of ssis?
How to rename databases in ms sql server?
How many types of dimensions are there and what are they? : sql server analysis services, ssas
How to find which stored procedure is currently running in sql server?
What is a view and what are its advantages?
What is the use of stored procedure?
Why it is recommended to avoid referencing a floating point column in the where clause?
Tell me about the approaches which you used to counter the DI problems.
What are the steps to take to improve performance of a poor performing query? : sql server database administration