---
title: "Discussion on \"Using OUTPUT clauses to check data changes in a SQL script\" | Hashnode"
description: "Discussion on \"Using OUTPUT clauses to check data changes in a SQL script\". A colleague recently showed me the OUTPUT clause in SQL Server, which I wasn't familiar with. It allows you to view the data which has been changed by a query as part of that query.\nFor example, to view the data inserted by an INSERT statement, you c..."
url: "https://hashnode.com/posts/using-output-clauses-to-check-data-changes-in-a-sql-script/640616be57706a7c457acbaa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using OUTPUT clauses to check data changes in a SQL script](https://techblog.timhilton.xyz/using-output-clauses-to-check-data-changes-in-a-sql-script?utm_source=hashnode&utm_medium=feed)

A colleague recently showed me the OUTPUT clause in SQL Server, which I wasn't familiar with. It allows you to view the data which has been changed by a query as part of that query. For example, to view the data inserted by an INSERT statement, you c...

Mar 6, 2023 · 2 min read · techblog.timhilton.xyz  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#sql-server](https://hashnode.com/tag/sql-server)

## Written by

[Tim Hilton](https://hashnode.com/@tjhilton)

@tjhilton

  
[View profile](https://hashnode.com/@tjhilton)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
