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 do I save a sql query?

536


can a stored procedure call itself or recursive stored procedure? : Sql dba

570


What are all the different normalizations?

576


What will you get by the cursor attribute sql%found?

530


What is autocommit sql?

531






what happens if you no create privilege in a database? : Sql dba

523


What is the difference between left outer join and left join?

501


What is linq to sql?

542


What is the difference between mdf and ndf files?

556


What is denormalization in a database?

583


What is a natural join?

502


Explain the insert into statements in sql?

555


What is data control language?

524


What is write ahead logging in sql server?

552


What is a sql schema used for?

534