Compare and contrast TRUNCATE and DELETE for a table.

Answer Posted / kishore

truncate removes all the rows from a table
it can't be rollback
delete removes all /specific rows from a table
it can be rollback
drop removes whole table

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps you will take to improve performance of a poor performing query?

2422


In which dictionary table or view would you look to determine at which time a snapshot or MVIEW last successfully refreshed?

2233


What are the different sql server versions you have worked on? : sql server DBA

546


How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up?

2034


what is grd?

638






what are the types of connection load-balancing?

564


what are the performance views in an oracle rac environment?

559


Why would you use sql agent? : sql server DBA

580


How do you open a cluster administrator? : sql server DBA

581


What is dcl? : sql server DBA

650


what do you understand by flashback feature of oracle?

560


What the different components in replication and what is their use? : sql server DBA

541


what is ora 24313?what is the procedure to exclude that error?

2103


what is the last version,the release date of that version and fix pack of ibm db2 udb?

1521


how can you enable flashback feature?

536