What is the difference Delete and Drop ?

Answer Posted / senthil d

Delete Command - Options to Delete particular record using
where clause and to delete all records. Table structure
remains. But it slower in performance as we compared with
truncate command

Drop Command - Drops the entire table from data base

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is data stored in mysql?

494


How to find second highest salary from a table?

536


How many TRIGGERS are allowed in MySql table?

578


How do you rename a procedure in mysql?

450


Which statement is used to delete a table in MySQL.

477






What is the difference between the LIKE and REGEXP operators?

532


How to allow the user "sonia" to connect to the server from localhost using the password "passwd". Login as root. Switch to the mysql db. Give privs. Update privs.

592


How can you find out the version of the installed mysql?

687


How to Change a users password from unix shell.

564


How we can get the current date in mysql?

505


How to calculate the difference between two time values?

453


What is inner join in mysql?

468


What is difference between mysqli and pdo?

467


How many sql dml commands are supported by 'mysql'?

473


How do I exit mysql?

501