SQL Server Reporting Services Question:

Download Job Interview Questions and Answers PDF

Define Truncate and Delete commands?

SSRS Interview Question
SSRS Interview Question

Answer:

Truncate:
► Truncate command is used to remove all rows of the column.
► The removed records are not recorded in the transaction log.
► It is the fast way to remove all the records from the table.
► The records once removed can’t be rolled back.
► It can’t activate trigger.
► It resets the identity of the column.

Delete:
Delete command removes records one at a time and logs into the transaction log.
It can be used with or without where clause.
The records can be rolled back.
It activates trigger.
It doesn’t reset the identity of the column.

Download SSRS Interview Questions And Answers PDF

Previous QuestionNext Question
How to unzip a File in SSIS?What are the ways to controlling Cursor Behavior?