What is difference between TRUNCATE & DELETE?

Answer Posted / rr

delete command delete the rows from table record by record but truncate removes all the records is nothing but it drops the table and creates table structure as it is

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can unique keys be null?

486


What is a field in a database?

569


Which data type is a composite type?

532


Define sql delete statement.

568


What is a table in a database?

581






What is a memo field?

529


What is sql*loader?

576


What is set serveroutput on in pl sql?

567


How can we avoid duplicating records in a query?

568


how does a local variable is defined using t-sql? : Transact sql

546


What are the advantages of stored procedure?

544


What is a recursive stored procedure?

621


What is cursor explain with example?

556


Explain the select statement in sql?

616


what is the difference between group by and order by in sql? : Sql dba

600