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 |
Which database stores information about replication?
Explain DBCC?
How to return the top 5 rows from a select query in ms sql server?
What are the disadvantages of indexes?
What is the default fill factor value?
How is sql used in sql server?
Define ACID properties in a Database?
Explain the usage of floor function in sql server.
What are the types of stored procedures in an sql server?
What is the language structure to add a record to a table?
What are tables in sql server?
What is star, snowflake and star flake schema? : sql server analysis services, ssas
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)