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 Switch (select or use) to a database.

808


What is MySQL?

783


How do I start mysql in ubuntu?

734


What does mysql flush hosts do?

678


What is 1nf 2nf 3nf?

741


How to include numeric values in sql statements?

755


Is mariadb faster than mysql?

717


Is mysql server free?

697


How to concatenate two character strings?

759


What is pdo mysql?

718


How is oracle different from mysql?

725


Write a query to display current date and time?

741


What is text in mysql?

708


How to return query output in xml format?

847


Is pdo more secure than mysqli?

685