+ 1

I am confused between drop and delete. Someone please explain.

11th Sep 2016, 7:46 PM
Simant |Kingpin|
Simant |Kingpin| - avatar
7 Answers
+ 8
Drop is to delete whole table or column. delete is to delete a record or set of records
11th Sep 2016, 7:57 PM
Shashanka T G
+ 6
Delete can only delete data in a table, but drop can delete a table, column, and the whole database. Think of delete as a jack hammer that can remove small pieces of a road and drop as a bull dozer that can take out large portions of road at a time.
14th Dec 2016, 3:10 PM
Nadario Seays
Nadario Seays - avatar
+ 2
Drop deletes both data and structure of the table. Delete deletes only data not the table structure/definition. We can use where clause also to delete data using delete command.
13th Sep 2016, 9:43 PM
Sudhakara Bathala
+ 1
Delete removes only selected data while drop removes all data
15th Dec 2016, 5:51 AM
Adarsh aloz
Adarsh aloz - avatar
+ 1
drop command is use to delete whole table but delete command with is used to delete the selected rows only
16th Dec 2016, 5:25 AM
Rincy Pereira
Rincy Pereira - avatar
0
Drop will remove the specified column/table with no chance of rollback, whereas delete will remove data from a table but nor the table structure, and can use rollback
14th Dec 2016, 1:18 PM
Mason
Mason - avatar
0
these answers are absolutely currect
15th Dec 2016, 6:15 PM
Soma Jahnavi
Soma Jahnavi - avatar