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

What is ndb in mysql?

606


Transactions are used to treat sets of SQL statements atomically. State Whether True or False?

1086


What are all the Common SQL Function?

652


How To see all the tables from a database of mysql server.

647


Explain triggers and stored procedures?

566






What is the role of a limit in a mysql query?

631


Is mysql a server?

545


How can you retrieve a particular number of records from a table?

581


Does mysql use t sql?

646


What is mysql database extension?

571


How database are managed?

628


How to Change a users password from MySQL prompt. Login as root. Set the password. Update privs.

649


How do you flush privileges?

610


How to escape special characters in sql statements?

610


How many entries can mysql handle?

589