Skip to main content

Difference between DELETE and DROP in DBMS

DELETE is used to remove the rows, while DROP is used to remove the tables and Database.

DROP and TRUNCATE are DDL commands, whereas DELETE is a DML command.

DELETE operations can be rolled back (undone), while DROP and TRUNCATE operations cannot be rolled back.

DELETE command is a Data Manipulation Language command whereas, DROP is a Data Definition Language Command.

WHERE clause can be used along with the DELETE command But No clause is used along with DROP command.

DELETE remove some or all the tuples(rows) from a table ,where DROP can remove entire schema, table, domain, or constraints from the database.

Quote: Where there is a will, there is a way. If there is a chance in a million that you can do something, anything, to keep what you want from ending, do it. Pry the door open or, if need be, wedge your foot in that door and keep it open.|| Your time is limited, so DON'T WASTE IT LIVING SOMEONE ELSE'S LIFE...|| The road to your dreams isn’t always easy to navigate, sometimes dotted with mountains to climb, obstacles to overcome—and hard, mind-numbing times that will make you feel like quitting. Just remember this if you get lost along the way: Anything worth having doesn’t come easy. So don’t turn back around. Don’t give up.|| All our dreams can come true, if we have the courage to pursue them...|| It always seems impossible until it's done || As I look back on my life,I realize that every time I thought I was being REJECTED from something good, I was actually being RE-DIRECTED to something better...|| Failure will never overtake me if my determination to succeed is strong enough. || Believe in yourself. You are braver than you think, more talented than you know, and capable of more than you imagine...|| Believe in yourself, take on your challenges, dig deep within yourself to conquer fears. Never let anyone bring you down. You got to keep going...||