Can we rollback records deleted by a truncate statement?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / mp
No, because it is a DDL.
We can only rollback DML statements, right?
Is This Answer Correct ? | 6 Yes | 9 No |
Explain what is lock escalation?
What do you mean by a dependent functionality in a build?
In performance wise distinct is good or group by is good? eg:select name from emp group by name; select distinct name from emp;
what is physical sort data and logical sort data in index?
Explain what is the function of sql server agent windows service?
What are different types of schemas?
Difference between report and query parameter. Why do we need different type of parameter?
What are the differences between char and nchar in ms sql server?
How we Resize table,temp table, database and log file size in SQL Server 2005
What are data files?
What are the tool windows in sql server management studio? : sql server management studio
How to test values returned by a subquery with the in operator?