What is the difference between delete , truncate and drop?

AnswerBot
1y

Delete removes specific rows from a table, truncate removes all rows, and drop removes the entire table.

  • Delete is a DML operation, while truncate and drop are DDL operations.

  • Delete is slower as it log...read more

kapil singh
1y

Delete is a dml.and truncate or drop is ddl.the delete data can be rollback. Truncate can not be rollback .and drop can not be rollback .the delete are used to delete one row and all based on where co...read more

Navya Koya
2y

The DELETE command deletes one or more existing records from the table in the database.
The DROP Command drops the complete table from the database.
The TRUNCATE Command deletes all the rows from the ...read more

Add answer anonymously...
TCS Informatica ETL Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter