Interviewer And Interviewee Guide

SQL Database Concepts Interview Question:

Please differentiate between DELETE and TRUNCATE?

Submitted by: Administrator
- Truncate can not be rolled back while Delete can be.
- Truncate keeps the lock on table while Delete keeps the lock on each row.
- Truncate resets the counter of the Identity column while Delete doesn't do so.
- Trigger is not fired in Truncate while it happens in Delete.
Submitted by: Administrator

Read Online SQL Database Concepts Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.