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

Answer Posted / sudha

Truncate Table - Truncate table is the combination of Drop
and Create. It [Truncate]can drop and recreate the table.
Delete - Delete will deletes all the data in the table and
structure of the table.

Is This Answer Correct ?    4 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is row locking in mysql?

740


How internally data stores in MyISAM and INNODB table types?

2369


Can you tell few best practices to be followed for optimization in sql?

717


how you will show all records not containing the name "sonia" and the phone number '9876543210' order by the phone_number field.

721


How to make a copy values from one column to another in mysql?

822


Can we write procedure in mysql?

697


What is maximum table size in mysql?

707


How do I run a query in mysql?

716


What is the size of mysql database?

701


What is the use of mysql_close()?

736


Where is mysql data stored linux?

711


How do I start mysql in linux?

681


What are the advantages of mysql?

749


Restore database (or database table) from backup.

791


Write a program using the select statement, while loop.

691