Update with Output in SQL Server

If you’re doing an update, and need information on the records you’re updating, you can do it all in a single command. This video gives you an example using a CTE, where you update, and also pull data down from the records that you’re updating, all in a single command.

View code on GitHub

Leave a Reply

Your email address will not be published.