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

Where is data stored in a database?

500


How do you delete a table from database?

489


Explain the Surrogate Key in DBMS.

549


How index hunting contributes in improving the query performance?

523


State at least four kinds of indexing?

559






i have cleared the nic test...please send me the interview questions if anyone have them.... my email id is v84priya@gmail.com

1427


For each user who needs access, the DBA creates an account in which database?

577


Explain 4nf?

525


What are the ways to tune reporting services?

502


What is procedure in dbms?

483


What are the four types of database?

493


How does notification services work?

519


What is domain in dbms?

549


What are indexes? What are b-trees?

488


Why indexing is used in database?

503