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 main differences between #temp tables and @table variables and which one is preferred?
Mention the uses of stored procedures.
Explain data warehousing in sql server?
Suppose you want to implement the many-to-many relationships while designing tables. How would you do it?
What are the disadvantages of using querystrings to send data from one page to another?
What command would you use to add a column to a table in sql server?
What are cursors stored procedures and triggers?
from the table display the 2nd highest salary? and also the least 2nd salay?
What it means to be triggered?
what is the basic diffrence betn a col declared in char(1) and in varchar(1)
How to delete an attribute from the emp table
can you anybody tell me the how can you restore the master database. while migraion(one server to onther server)?
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)