Some of Benefits of this clause:
• For auditing actions (Insert statement)
• For data archiving (delete statement)
• To see the old and new modification in the row (update statement)
Let's see this example:

We can also use OUTPUT clause with DELETE and UPDATE statement also.
No comments:
Post a Comment