What are the differences between drop a table and truncate
a table?

Answer Posted / meena bisht

Drop: drop means it will drop the table including structure
and free the memory from hard disk.

Truncate: Truncate will truncate the data. The structure
will remain there and also will free the memory.

Is This Answer Correct ?    33 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain csv tables.

729


How do you name a table?

661


What is memory table?

691


How do I run mysql?

697


How do you rename a procedure in mysql?

707


Which statement is used in a select query for partial matching?

874


How do I delete a mysql user?

647


What does mysql flush hosts do?

665


Write a query to display even rows in student table using mysql?

687


Does mysql need a server?

690


What can I do with mysql?

691


What is identity in mysql?

739


Explain % and _ inside like statement?

768


What does it mean to be case sensitive?

746


In which language mysql has been written?

1075