What is difference between TRUNCATE & DELETE?

Answer Posted / jude franco

TRuncate removes all the rows in a table in one go.
Delete deoes it for each row
Truncate does not make entries in a LOG file
Delete makes entries for each row that gets deleted

Is This Answer Correct ?    23 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to install mysql? : Sql dba

580


Can we rollback delete command?

510


Explain 3 basic parts of a trigger.

828


Is t sql a programming language?

539


What is difference between left and right outer join?

513






Is null operator in sql?

601


What is record variable?

547


What is java sql driver?

539


What is a left inner join?

531


How is pl sql different from sql?

539


What does cursor do in sql?

514


What is the use of count (*) in sql?

540


What is the sql query to display the current date?

547


What is the main reason behind using an index?

546


What is a join query?

546