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

Answer Posted / velmurugan

Drop - will Delete the table date as well as the table
structure.
Truncate - Will Delete the table data only. The table
structure will remains.

Is This Answer Correct ?    71 Yes 9 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 to create trigger in mysql workbench?

541


What happens if you no create privilege in a database?

557


What is 'mysqlshow'?

636


What is int unsigned?

497






Is mysql free for enterprise?

490


What is mysql ndb?

512


What is auto increment in mysql?

495


What is a trigger in mysql?

550


What is the command line end user interface - mysql?

525


What is mysql root?

485


Is pdo faster than mysqli?

469


what is the difference between gui testing and database testing? : Mysql dba

521


What is a procedure example?

491


What are the difference between now and current_date in mysql?

651