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 |
ow to bring suspect mode datbase online from scratch
What is a trace frag? Where do we use it?
can you any body tell me why are go for the rebuild the master database.what is the reason?
Can Having clause be used without Group by clause?
6 Answers CarrizalSoft Technologies, CSC, CTS,
Define tempdb database?
How to replace given values with null using nullif()?
What is the advantage of sql server?
What is Right Outer Join?
How to Check Whether a Global Temporary Exists in a SQL Database or not?
What is difference between oltp and olap?
sql database suspect We have a sql database that is showing as suspect. How can we recover?
What guidelines should be followed to help minimize deadlocks?