what is the difference between delete and truncate?

Answer Posted / nithya

The basic difference between delete and truncate is 'high
water mark'. High water mark indicates the max level to
which the data has risen in the table.

Deleting a table removes only the data from it whereas

Truncating a table removes all the data from the table and
resets the relevant pointers including 'high water mark'.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What database does facebook use?

705


How to configure events with firewall?

712


What is rank in database?

649


Write about Transaction Management in Oracle 9i?

1844


What is vacuum in database?

660


What is the main purpose of database?

682


What is the best free database?

682


What are good databases?

691


What do you mean by transparent dbms?

1147


What is the difference between a catalog and a database?

695


What is database join?

660


What is stored in a database?

717


What is difference between database and file?

618


What are the main components of a database system?

614


Can we save file in database?

666