What is Difference Between delete and Truncate?

Answer Posted / joe

Delete is DML and truncate is DDl;
both or used to delete the records from the table.

We can rollback the deleted records but we cant when we used truncate.

Delete is faster than truncate

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are aggregate and scalar functions?

519


what are myisam tables? : Sql dba

541


What operators deal with null?

601


What is a sql instance vs database?

569


how many sql ddl commands are supported by 'mysql'? : Sql dba

518






What is the use of sqlerrd 3?

515


what is a database lock ? : Sql dba

585


What is a primary key sql?

557


What is out parameter used for eventhough return statement can also be used in pl/sql?

577


Can a select statement fire a trigger?

650


How many sql statements are used?

560


what does the t-sql command ident_current does? : Transact sql

535


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

498


What is crud diagram?

505


What are the three pl sql block types?

563