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

Answer Posted / karthik

truncate means it will truncate the data, we can retrieve
it whenever we want using commit
drop - it delete the full structure as well as the data.
cant make a recovery.

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I backup mysql database on linux?

484


How do I connect to mysql database?

494


Where is mysql data stored linux?

467


What is mysql ndb?

512


How do I find my mysql username and password?

546






What are the advantages of myisam over innodb?

564


What is query design?

471


How to check if a record exists in a mysql database php?

443


What is difference between statement and preparedstatement?

470


How do I check mysql version?

487


Why do we use group by and order by function in mysql?

521


How to store binary data in mysql?

525


What is sqlyog?

612


What do I do if I forgot my mysql root password?

476


What is difference between mysqli and pdo?

467