Pergunta de entrevista da empresa 4th Quarter Technologies

Difference between delete and truncate, questions based on skills mentioned in resume

Respostas da entrevista

Sigiloso

4 de mai. de 2017

Truncate for remove any row or any object from table, Delete for removing table permanently.

Sigiloso

26 de ago. de 2019

Truncate: 1. It is DDL Command. 2. Doesn't delete specific record. 3. Where keyword not supported. 4. Permanent Deletion. 5. Rollback not possible. 6. It is fast. 7. Reset Identity Property. Delete: 1. It is DML Command. 2. Possible to delete specific record 3. Where keyword is supported. 4. Temporary Deletion. 5. Roll back possible. 6. It is slow. 7. It is Reset identity property.