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 |
What is resource governor?
What happens on checkpoint?
What is page in sql server?
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting is possible?
what is node in sql server?
2 Answers CarrizalSoft Technologies, Google, NIIT, Nittany, TATA,
What are the 3 types of schema?
What happens when unicode strings concatenate with non-unicode strings?
Can we check locks in database? If so, how can we do this lock check?
Explain what is meant by replication of database?
Explain transaction server implicit?
What is the use of keyword with encryption. Create a store procedure with encryption?
Which autogrowth database setting is good?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)