What are the differences between DROP a table and TRUNCATE a table?

Submitted by: Administrator
DROP TABLE table_name - This will delete the table and its data.

TRUNCATE TABLE table_name - This will delete the data of the table, but not the table definition.
Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers