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 are the advantages of the mirroring?
how we can store the value like that 001,003,023 etc in sql server 2005
What is difference between group by and having?
Can you tell me some of the common replication dmv's and their use? : sql server replication
Explain what are commit and rollback in sql?
what operator performs pattern matching?
What are the general features of sql server management studio? : sql server management studio
Write a sql query to display the current date?
What is create command?
What is the order by used for?
what's the maximum size of a row? : Sql server database administration
What is the difference between SSAS 2000 and SSAS 2005?
Oracle (3253)
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)