What is Difference Between delete and Truncate?

Answer Posted / muralipitti

Delete - temparaly delete the table we can undo it using
rollback where as

truncate= delete+commit we can't rollback it .

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to shutdown mysql server? : Sql dba

561


What are the two virtual tables available at the time of database trigger execution?

627


What does sign mean sql?

561


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

546


name 3 ways to get an accurate count of the number of records in a table? : Sql dba

559






What are the types of dbms?

541


what is a join? : Sql dba

557


What is difference between cursor and trigger?

549


How does sql profiler work?

563


What is dense_rank?

530


What does pl sql developer do?

504


Why do we use subquery?

479


what are the advantages and disadvantages of views in a database? : Sql dba

525


Is truncate ddl or dml?

538


how to analyze tables with 'mysqlcheck'? : Sql dba

538